Is there any way to install gcc 4.9 at ubuntu 18.04? I tried
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
but I get:
Package g++-4.9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
I need this version for running some simulations with sniper. Is there anyway to do it or I have to make a VM with ubuntu 16.04?
$ apt-cache search g++ g++-4.8
... and also use the on-line "Search & overview" page https://packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names – Knud Larsen May 14 '18 at 17:22gnat-4.6
https://packages.ubuntu.com/trusty/gnat-4.6 ... or the 16.04gnat-4.9
https://packages.ubuntu.com/xenial/gnat-4.9 ... if the dependencies can fit 18.04 . ... Ref. https://packages.ubuntu.com/search?keywords=gnat&searchon=names – Knud Larsen Oct 02 '18 at 20:41