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?