Installing Packages & Symlinking
-
8. Installing Packages
Next Install Required Packages
So Execute:sudo 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
Again to Install the Legacy Libraries.
First, Enable Precise Repository with:sudo su -c "echo 'deb [trusted=yes] http://old-releases.ubuntu.com/ubuntu/ precise main universe' >> /etc/apt/sources.list.d/extra.list"
sudo apt update
And then Install the Remaining stuff:
sudo apt install lesstif2 lesstif2-dev pdksh libaio-dev libpthread-stubs0 lsb-cxx
After to Restore the Repositories:
sudo apt remove /etc/apt/sources.list.d/extra.list
sudo apt update
Set to Hold the Installed Libraries without Upgrading:
sudo apt-mark hold libaio-dev lesstif2 lesstif2-dev pdksh libpthread-stubs0 lsb-cxx
Finally, Make a needed Symlink:
sudo ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/libgcc_s.so.1
-
9. Making Symlinks
Make Symlinks to Binaries and Libraries
Linking Binaries with:sudo ln -s /usr/bin/awk /bin/awk
sudo ln -s /usr/bin/rpm /bin/rpm
sudo ln -s /usr/bin/basename /bin/basename
And Link Libraries as:
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
sudo ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so
sudo ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/libgcc_s.so.1
sudo ln -sf /bin/bash /bin/sh
Contents