Install and make GNU GCC 10 default in Ubuntu 20.04 Focal ...
ahelpme.com › linux › ubuntuOct 18, 2021 · Install build-essential package. Install gcc-10 packages (g++, too). Make GNU GCC 10 default compiler – use update-alternatives to point the GNU GCC 10 as the default compiler Four simple lines and the third is a little bit more complex: 1 2 3 4 5 apt update -y apt upgrade -y apt install -y build-essential apt install -y gcc-10 g++-10 cpp-10