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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this community
sudo apt-get install gcc-6*
or bettersudo apt-get install gcc-6-base
?gcc 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 launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/testupdate-alternatives
so that you can switch between gcc versions as you need to