GNU/Linux Pop!_OS Installing GCC 11.2 from Source – QuickStart Guide
Hi! This tutorial will guide you step-by-step on How to Install GNU Compiler Collection 11.2.x from Source in Pop!_OS GNU/Linux Desktop.
And the GCC 11.2 for Pop!_OS Linux is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.
Finally, GCC 11.2 includes several New Features, Changes, and Fixes that you can consult on the GNU GCC Documentation.
1. Launching Terminal
Open a Terminal Shell emulator window
Hit Win/Cmd to Show Bar.
(Press “Enter” to Execute Commands)sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.2. Querying System GCC
First, find out what the actual System GCC
Play:which gcc
Take Note of the PATH to use after installation for switching the System GCC.
Possibly to Check the current GCC version issue:gcc -v
Contents