When will GCC be updated in 16.04 and 18.04?
You can already install gcc 7.0 in Ubuntu 17.10 from the default repositories. The latest version of GNU C compiler in the Ubuntu 17.10 and 18.04 default repositories is gcc-7. To install gcc-7 in Ubuntu 17.10, 18.04 and 18.10 open the terminal and type:
sudo apt install gcc-7
To install gcc-8 in Ubuntu 18.04 and later open the terminal and type:
sudo apt install gcc-8
To install gcc-9 in Ubuntu 19.04 and later open the terminal and type:
sudo apt install gcc-9
You can install gcc-7 in Ubuntu 16.04 from ppa:jonathonf/gcc-7.1.
sudo add-apt-repository ppa:jonathonf/gcc-7.1
sudo apt update
sudo apt install gcc-7
You can install gcc-8 in Ubuntu 16.04 from ppa:jonathonf/gcc-8.0.
sudo add-apt-repository ppa:jonathonf/gcc-8.0
sudo apt update
sudo apt install gcc-8
It makes more sense to either wait until April and install gcc-7 in Ubuntu 18.04 or else install it in Ubuntu 17.10 now.
Related videos on Youtube
Kushajveer
Updated on September 18, 2022Comments
-
Kushajveer over 1 year
The current version of supported GCC on Ubuntu 16.04.3 LTS is 5.4 version and the latest GCC version is already at 7.0. So can we expect a newer version of GCC in Ubuntu 18.04 LTS?
-
steeldriver about 6 yearsNo need for expectation: packages.ubuntu.com/…
-
goo about 6 yearsDon't ask AskUbuntu - we're not responsible for release contents. Ask Canonical, who releases Ubuntu
-
Rinzwind about 6 yearsSee lists.ubuntu.com/archives/ubuntu-devel/2017-July/039924.html @waltinator naah. We probably depend on Debian for this.
-
Rinzwind about 6 yearsand also see qa.ubuntuwire.org/ftbfs/rebuilds/…
-
Panther about 6 yearsFrom help.ubuntu.com/community/UbuntuBackports "When Ubuntu releases a new version of its OS every 6 months, that release is largely frozen in time. While the software that is part of that release will get bug fixes and security patches, new major releases of software and the new features that come with them will not be available."
-
karel about 6 yearsgcc-7 is already in the Ubuntu 17.10 repos if you want to install it now without mucking about with alternative installation methods. gcc-7 will be in the 18.04 repos as well.
-
Thomas Ward about 6 yearskarel's answer only touches on 17.10/18.04. There are no planned updates for 16.04 to a newer GCC because to do so runs the risk of breaking everything else that's been compiled against the GCC versions in the repository already for Xenial. (To put this in a nutshell anyways)
-
-
Blair Houghton almost 6 yearsGCC 8.1 was released today. No idea when it will appear in a repository. But you can always download and build it. Loading up Ubuntu 18.04 and compiling gcc 8.1 would feel like hanging ten on the hood of Elon Musk's spacefaring Tesla Roadster...
-
karel almost 6 years@BlairHoughton gcc-8 has landed in the official Ubuntu repositories for Ubuntu 18.04 and later. To install gcc-8 in Ubuntu 18.04 and later run this command
sudo apt install gcc-8