I want the latest version of GCC, namely the GCC 6.0, for running a software. The linux version installed is 14.04 LTS. Every time I am trying to upgrade the GCC version I am ending up installing the version 4.8.4.
Asked
Active
Viewed 2,923 times
sudo apt-get install gcc-6*
or bettersudo apt-get install gcc-6-base
? – Videonauth Apr 20 '16 at 10:17gcc 6
on 16.04, with this PPA you can get to 5 but the package for 6 won't be found for 14.04 or 15.10 https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test – Mark Kirby Apr 20 '16 at 10:42update-alternatives
so that you can switch between gcc versions as you need to – WillC Nov 04 '18 at 09:14