For some reason I have to downgrade my GCC to version 2.x using apt-get (not downloading and compiling the source)
Is that possible? If yes, how can I find the repository address and install it via apt-get?
Thanks in advance.
For some reason I have to downgrade my GCC to version 2.x using apt-get (not downloading and compiling the source)
Is that possible? If yes, how can I find the repository address and install it via apt-get?
Thanks in advance.
No. Not using apt-get, GCC 2.x predates Ubuntu !
I managed to locate GCC 2.95 at http://archive.debian.org/debian-archive/debian/pool/main/g/gcc-2.95/
You could download the appropriate version and install using the dpkg -i pathto/filename.deb
command. Who knows if it will work, or have any issues with dependencies and then you would for sure need to use apt-pinning to prevent Ubuntu installing a more modern version - really not worth even trying IMHO.
I'm afraid you are entering in a private hell.
Since GCC 2.x predates Ubuntu the risk is to hang somehow the system.
Have you considered to install Virtualbox in your Ubuntu machine and an old image of linux compatible with GCC 2.x? It's possible to download even a pre installed images of such kind of systems ready to use.
Since a program that requires GCC 2.x is rather old, probably it will not suffer to run in an emulated environment, and you can share part of the file system between the virtual machine and the Ubuntu host.