Christoph's 2 Cents

A Backup for My Brain!

Oracle Developement

Rlwrap, the third.

Want to install rlwrap in < 2min? Here are the two quick & easy steps to install rlwrap on Red Hat Enterprise Linux 5:

(As root)

For RHEL 5:

[source]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm[/source]

For RHEL 6:

[source]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm[/source]

Then:

[source]# yum install rlwrap*[/source]

Done!

P.S.: Another helpful blog post from Oracle-Base.

6 thoughts on “Rlwrap, the third.

  • Thanks for letting me know the link is down. I’ll see if I can find the package elsewhere.
    If you do find the package before me, would you please let me know?

    Thanks,
    Christoph

  • Carbon Sink

    I’m running CentOS 6 in a VirtualBox environment hosted on Arch Linux.

    For CentOS I ended up downloading the source from http://utopia.knoware.nl/~hlub/uck/rlwrap/#rlwrap then compiling it and installing it according to the directions in file ‘INSTALL’. There was one dependency I had to install first (“sudo yum install readline-devel”).

    For Arch I just used “sudo pacman -S rlwrap”.

    I use rlwrap to get command line editing for Oracle XE database’s command line utility ‘sqlplus’, starting it thus: rlwrap sqlplus SYSTEM/@XE

  • Carbon Sink

    (that command line should read rlwrap sqlplus SYSTEM/password@XE)

Comments are closed.