For example Ubuntu 20.04 provides gcc-10 packages but it is still missing gcc-11. Both Ubuntu 21.04 and 21.10 provide gcc-11 packages. When does 20.04 get gcc-11? I am aware there are other ways to install gcc-11, but I am interested in finding out it's general availability in 20.04.
Asked
Active
Viewed 717 times
1 Answers
3
When does 20.04 get gcc-11?
Probably never. For example, 20.04 has gcc-10 but 18.04 only has up to gcc-8.
In order to gain access to newer versions of gcc, the generally accepted method is to use the ubuntu-toolchain-r/test ppa:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
mchid
- 44,904
- 8
- 102
- 162