[Oracle DataBase Server 12.1 installation on Oracle Linux 6.7]: Install mandatory packages

# vi /etc/yum.repos.d/oracleLinuxRepoINTERNET.repo


[OEL_INTERNET]
name=Oracle Enterprise Linux $releasever - $basearch
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1


# yum repolist
# yum update -y


Install mandatory packages

# yum install -y \
binutils.x86_64 \
compat-libcap1.x86_64 \
compat-libstdc++-33.i686 \
compat-libstdc++-33.x86_64 \
gcc.x86_64 \
gcc-c++.x86_64 \
glibc.i686 \
glibc.x86_64 \
glibc-devel.i686 \
glibc-devel.x86_64 \
ksh.x86_64 \
libgcc.i686 \
libgcc.x86_64 \
libstdc++.i686 \
libstdc++.x86_64 \
libstdc++-devel.i686 \
libstdc++-devel.x86_64 \
libaio.i686 \
libaio.x86_64 \
libaio-devel.i686 \
libaio-devel.x86_64 \
make.x86_64 \
sysstat.x86_64


Next package need to start GUI form on remote host

# yum install -y xdpyinfo


Additional packages:

# yum install -y \
mc \
nano \
vim \
emacs \
wget \
xinetd \
screen \
ntp \
unzip


Install rlwrap

rlwrap - needs to work with arrow buttons on keyboard in sqlplus and rman command line:

# yum install -y \
readline-devel.x86_64


# yum install -y git
# cd /tmp
# git clone --depth=1 https://github.com/hanslub42/rlwrap

# cd rlwrap/


# yum install -y automake
# autoreconf --install
# automake  --add-missing
# ./configure
# make && make check && make install