install gcc-9 on Ubuntu 18.04?
By John Parsons •
gcc-9 is just released.
I was wondering if there is a repository that allows me to install gcc 9 on Ubuntu 18.04 LTS (bionic)?
There seems to be repositories supporting disco:
But I liked to have it on the current LTS for a while.
12 Answers
It is now available in ubuntu-toolchain-r too:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-9If the add-apt-repository command cannot be found, run this:
sudo apt install software-properties-common 8 I used a search for PPAs, using search on launchpad.net and found JonathonF's GCC 9.0 PPA. You can install this package by:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:jonathonf/gcc
sudo apt-get update
sudo apt-get install gcc-9 14 More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"