Install Dependencies for the Oracle Database Software

You must install software packages that the Oracle database software depends on for its proper operation.

  1. Log in to the server as the root user.
  2. Navigate to the /etc/yum.repos.d/ directory and retrieve the file that configures repository locations.
    cd /etc/yum.repos.d/
    wget http://public-yum.oracle.com/public-yum-ol6.repo
  3. Open public-yum-ol6.repo in a text editor and verify the enabled parameter is set to 1 in the [ol6_latest] section and the [ol6_UEK_latest] section.
  4. Install the oracle-rdbms-server-11gR2-preinstall package.
    yum -y install oracle-rdbms-server-11gR2-preinstall

    Note:

    If yum fails with a GPG key retrieval error, import Oracle's GPG key.
    rpm --import http://oss.oracle.com/ol6/RPM-GPG-KEY-oracle
    To verify the GPG key was successfully imported, type
    rpm -q gpg-pubkey-ec551f03-4c2d256a
    If the package name is returned, Oracle's GPG was successfully imported. If the command returns a message saying the package is not installed, re-enter the import command.
  5. Install additional required packages:
    yum -y install binutils compat-db compat-libstdc++-33 glibc glibc-devel gcc cpp glibc-headers gcc-c++ libstdc++ make ksh elfutils-libelf elfutils-libelf-devel sysstat libaio libaio-devel unixODBC unixODBC-devel