How to Install Oracle 12c R2 Database on Ubuntu 18.10 Cosmic 64-bit Easy Guide | Installing Packages

September 18, 2018 | By thelinuxevangelist | Filed in: Tutorial.

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

The article contains the necessary instructions about How to Install the Oracle 12c R2 Database on Ubuntu 18.10 Cosmic Installing the Required Packages and Making the needed Symlinks.

Oracle 12c R2 DB Installation on Ubuntu 18.10 Cosmic
2/5 Installing Packages & Making Symlinks

  1. Installing the Required Packages
    Installing Ubuntu Cosmic 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 R2 DB Installation on Ubuntu 18.10 64-bit >>


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