How to Install Oracle 11g R2 Database on Ubuntu 16.04 Xenial LTS 64-bit Easy Guide | Installing Packages

March 28, 2016 | By thelinuxevangelist | Filed in: Tutorial.

<< 1/6 Previous Step – Oracle 11g DB Installation on Ubuntu 16.04 64bit

The article contains the necessary instructions How-to How-to Install the Oracle 11g Database on Ubuntu 16.04 Xenial LTS setting up the Required Packages and Making the needed Symlinks.

Oracle 11g DB Installation on Ubuntu 16.04 Xenial
2/6 Installing Packages & Making Symlinks

  1. Installing the Required Packages
    Some Package in Not Any More in the Actual Repo and so we have to Unpack some Legacy Stuff…

    From Trusty Universe:

    echo 'deb trusty main universe' \
    >> /etc/apt/sources.list.d/extra-trusty.list
    apt update

    Then Execute:

    sudo apt install lsb-cxx pdksh limotif4

    Disable Trusty Universe:

    sudo rm /etc/apt/sources.list.d/extra-trusty.list

    Again Restore the Repos with:

    apt update

    Finally Install Remaining Dependencies:

    apt-get install alien autoconf automake autotools-dev binutils doxygen \
    elfutils expat gawk gcc gcc-multilib g++-multilib libstdc++6:i386 ksh less libtiff5 \
    libtiff5-dev lib32z1 libaio1 libaio-dev libc6-dev libc6-dev-i386 libc6-i386 \
    libelf-dev libltdl-dev libodbcinstq4-1 libodbcinstq4-1:i386 libstdc++5 make \
    openssh-server rlwrap rpm sysstat unixodbc unixodbc-dev x11-utils libpth-dev \
    zlibc libglapi-mesa:i386 libglu1-mesa:i386 libqt4-opengl:i386 \
    libpthread-workqueue0 libpthread-workqueue-dev libzthread-2.3-2 libzthread-dev

  2. Make Symlinks to Binaries and Libraries

    Linking Binaries

    ln -s /usr/bin/awk /bin/awk
    ln -s /usr/bin/rpm /bin/rpm
    ln -s /usr/bin/basename /bin/basename

    Linking Libraries

    ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
    cd /lib64
    ln -s /lib/x86_64-linux-gnu/ .

3/6 Next Step – Oracle 11g DB Installation on Ubuntu 16.04 64-bit >>

Tags: , , , , , , , , , , , , , , , , , , , , , ,