Installing Packages & Symlinking
-
6. Installing Packages
Installing the Required Packages
Some Package in Not Any More in the Actual Repo and so we have to Unpack some Legacy Stuff…From Trusty Universe:
echo 'deb [trusted=yes] http://us.archive.ubuntu.com/ubuntu/ trusty main universe' >> /etc/apt/sources.list.d/extra-trusty.list
apt update
Then Execute:
sudo apt install lsb-cxx pdksh
Disable Trusty Universe:
sudo rm /etc/apt/sources.list.d/extra-trusty.list
Again Restore the Repos with:
apt update
Finally, Install Remaining Dependencies:
apt-get install alien autoconf automake autotools-dev binutils doxygen elfutils expat gawk gcc gcc-multilib g++-multilib libstdc++6:i386 ksh less libtiff5 libtiff5-dev lib32z1 libaio1 libaio-dev libc6-dev libc6-dev-i386 libc6-i386 libelf-dev libltdl-dev libodbcinstq4-1 libodbcinstq4-1:i386 libstdc++5 make openssh-server rlwrap rpm sysstat unixodbc unixodbc-dev x11-utils libpth-dev zlibc libglapi-mesa:i386 libglu1-mesa:i386 libqt4-opengl:i386 libpthread-workqueue0 libpthread-workqueue-dev libzthread-2.3-2 libzthread-dev libmotif-common
-
7. Making Symlinks
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 .
Contents