How-to Install Oracle 12c R1 Database on Ubuntu 16.04 Xenial LTS 64bit Easy Guide | Installing Packages

November 6th, 2016 by thelinuxevangelist

<< 1/5 Previous Step – Oracle 12c R1 DB Installation on Ubuntu 16.04 64bit

The article contains the necessary instructions about How-to Install the Oracle 12c R1 Database on Ubuntu 16.04 Xenial Installing the Required Packages and Making the needed Symlinks.

Oracle 12c R1 DB Installation on Ubuntu 16.04 Xenial
2/5 Installing Packages & Making Symlinks

  1. Installing the Required Packages
    Installing Ubuntu Xenial Packages:

    apt update
    apt install unixodbc unixodbc-dev unzip lsb-cxx pdksh sysstat gcc g++-multilib \
    lib32ncurses5 lib32z1 ksh lesstif2 zlibc rpm libc6 libc6-dev libc6-dev-i386 libc6-i386 \
    gcc-multilib less lib32z1 libelf-dev binutils libodbcinstq4-1 libpth-dev zenity \
    libpthread-stubs0 libstdc++5 autotools-dev bzip2 elfutils g++ rlwrap libltdl-dev \
    libxm4:i386 libuil4:i386 libmrm4:i386 libxm4 libuil4 libmrm4 libmotif-common \
    libpthread-stubs0-dev build-essential expat gawk alien autoconf automake \
    lesstif2-dev

    Then Install Old Libraries.
    Firs Enable Precise Repository with:

    echo 'deb [trusted=yes] http://cz.archive.ubuntu.com/ubuntu precise main universe' \
    > /etc/apt/sources.list.d/extra.list
    apt update

    And the Install:

    apt install lesstif2 lesstif2-dev pdksh libaio-dev libpthread-stubs0 lsb-cxx

    Restore System with:

    apt remove /etc/apt/sources.list.d/extra.list
    apt update

    Set to Hold the Installed Libraries without Upgrading:

    apt-mark hold libaio-dev lesstif2 lesstif2-dev pdksh libpthread-stubs0 lsb-cxx

    Finally, Make a needed Symlink:

    ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/libgcc_s.so.1



  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/libgcc_s.so.1 .



3/5 Next Step – Oracle 12c R1 DB Installation on Ubuntu 16.04 64-bit >>

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