//Instalar o repositório de acordo com seu sistema operacional. 

[root@localhost]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm 
[root@localhost]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
[root@localhost]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y

[root@localhost]# yum install rlwrap -y

//->Criar um alias para chamar o SQL*Plus através do rlwrap alterar o arquivo ~/.bashrc do usuário oracle:

[root@localhost~]# su - oracle
[oracle@localhost~]$ vim ~/.bashrc

============Arquivo.bashrc===========
|									|
| #.bashrc							|
| alias sqlplus='rlwrap sqlplus'	|
| alias rman='rlwrap rman'			|
| alias adrci='rlwrap adrci'		|
| alias expdp='rlwrap expdp'		|
| alias impdp='rlwrap impdp'		|
| 									|
| # Source global definitions		|
| if [ -f /etc/bashrc ]; then		|
| 	. /etc/bashrc					|
| fi								|
| ...								|
=====================================

[oracle@localhost ~]$ . .bashrc 
[oracle@localhost ~]$ sqlplus
[oracle@localhost ~]$ rman
[oracle@localhost ~]$ adrci

/*-------------------SEGUNDA--FORMA-------------------------------------------*/
# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum -y install epel-release-latest-7.noarch.rpm
# yum -y install rlwrap

$ rlwrap sqlplus / AS SYSDBA
$ rlwrap rman TARGET /
$ rlwrap lsnrctl
$ rlwrap dgmgrl SYS/pass@ORCL

/*-------------------TERCEIRA--FORMA-------------------------------------------*/
# yum search epel-release
# yum info epel-release
# yum install epel-release

/*--update the software packages and verify the installation of the EPEL repository --*/
# yum update
# rpm -qa | grep epel

hostgator