How to Install Oracle 12c R1 Database on Ubuntu 18.04 Bionic 64bit Easy Guide | Installing Packages

May 9th, 2018 by thelinuxevangelist

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

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

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

  1. Installing the Required Packages
    Installing Ubuntu Bionic 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
    ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so
    ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/libgcc_s.so.1
    ln -sf /bin/bash /bin/sh



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

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