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.
# 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)”.
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
(that command line should read rlwrap sqlplus SYSTEM/password@XE)
Thanks for the update!