Use GCC11 on (K)ubuntu 20.04

3k views Asked by At

I want to use some new C ++ 20 functions that are implemented in the as-yet-unreleased GCC-11. I tried installing the package on Ubuntu 20.04 but as expected it doesn't exist yet. The web search didn't come up with anything useful either.

Is there any way to use GCC-11 on Ubuntu 20.04?

1

There are 1 answers

3
Raymond Czerny On

There is a solution via ppa.

You can find the instructions here: Install g++ 11 on Ubuntu 20.04