I am not familiar with Ubuntu and I want to install old version (3.3) of
gcc to compile some code. When I tried with
sudo apt-get install gcc-3.3
it's not installing.
~$ sudo apt-get install gcc-3.3 sudo: /etc/sudoers.d is world writable Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'gcc-3.3-hppa64' for regex 'gcc-3.3' The following packages were automatically installed and are no longer required: gfortran-5 libamd2.4.1 libbtf1.2.1 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libcsparse3.1.4 libcxsparse3.1.4 libgfortran-5-dev libklu1.3.3 libldl2.2.1 libspqr2.0.2 libumfpack5.7.1 openjdk-9-jdk-headless Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
When I tried to list all the available versions of
sudo apt-cache search gcc
it's not listing
gcc 3.3. How do I install gcc 3.3 on my Ubuntu?
gcc version is:
~$ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.