<< 1/5 Previous Step – Oracle 12c DB Installation on Mint 18.x 64-bit
.
The article contains the necessary instructions about How to Install Oracle 12c Database on Linux Mint 18.x Sarah/Serena/Sonya/Sylvia Installing the Required Packages and Making the needed Symlinks.
Oracle 12c DB Installation on Mint 18.x
2/5 Installing Packages & Making Symlinks
-
Installing the Required Packages
Installing Linux Mint Packages:apt update
sudo 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 the Legacy Libraries.
First, Enable Precise Repository with:echo 'deb [trusted=yes] http://cz.archive.ubuntu.com/Linux Mint precise main universe' > /etc/apt/sources.list.d/extra.list
apt update
And then 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
li>
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 DB Installation on Mint 18.x 64-bit >>.