CentOS 6.5 installation Rlwrap software for Sqlplus Objective: To solve the convenient use of Sqlplus connection Oracle (such as the right and left keys, flexible use of the upper and Lower keys) Hint: Install in Yum mode and need to connect to a third party's Yum source because there is no rlwarap component in the CentOS default yum source Steps
1.root user logged into OS
2. #rpm-IVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
3. #rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6//import KEY
The default is to create a Epel.repo and Epel-testing.repo two profiles under/etc/yum.repos.d/.
Installing Rlwrap and ReadLine
1.# Yum Install rlwrap readline readline-devel
SOURCE Package Installation
Other Linux distributions if the source does not have rlwrap and readline (such as the SUSE Enterprise Edition default does not have these two packages), to download the two source packages separately compiled installation
Installing ReadLine
Installing Rlwrap
Modify the amount of the environment
. Bash_profile Add the following:
Alias sqlplus= ' Rlwrap sqlplus '
Alias rman= ' Rlwrap Rman '
CentOS 6.5 installation Rlwrap software for Sqlplus