Rlwrap, the third.

January 12, 2011 at 2:59 pm | Posted in Oracle Developement | 6 Comments

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:

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

For RHEL 6:

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

Then:

# yum install rlwrap*

Done!

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

6 Comments »

RSS feed for comments on this post. TrackBack URI

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

    Gives “not an rpm package (or package manifest)”.

  2. Seems that http://download.fedora.redhat.com is down. Whether temporary or permanently I do not know.

    • 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

      • 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

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


Leave a comment


Entries and comments feeds.