$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Step-by-step – How to Install GCC 12.1 on Pop!_OS

May 25, 2022 | By the+gnu+linux+evangelist.

GNU/Linux Pop!_OS Installing GCC 12.1 from Source – QuickStart Guide

Hi! This tutorial will guide you step-by-step on How to Install GNU Compiler Collection 12.1.x from Source in Pop!_OS GNU/Linux Desktop.

And the GCC 12.1 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 12.1 includes several New Features, Changes, and Fixes that you can consult on the GNU GCC Documentation.

Step-by-step GCC 12.1 Pop!_OS Linux Installation Guide - Featured
  1. 1. Launching Terminal

    Open a Terminal Shell emulator window
    Hit Win/Cmd to Show Bar.
    (Press “Enter” to Execute Commands)

    Open Terminal Shell Emulator
    Or Right-Click on Desktop or Folder and Choose “Open in Terminal”:
    Menu Open in Terminal
    And Update Pop!_OS Apt Repository:
    sudo apt update
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  2. 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
  3. 3. Downloading GCC 12.1

    Download GCC 12.1 Source Code for GNU/Linux

    GCC 12.1 Source tar.gz
    Navigate to the 12.1.x Folder to Grab the Package.
  4. 4. Extracting GCC 12.1

    Then to Extract GCC 12.1 Archive
    If it does Not Open automatically then Double-Click/Right-Click to Open with Archive Manager:

    Step-by-step GCC 12.1 Pop!_OS Linux Installation Guide - Extracting Or from Command Line:
    tar xvzf ~/Downloads/gcc-12.*.tar.gz
    (But if downloaded with Firefox it may be instead into /tmp/mozilla*)
    Finally, if you are in Trouble to Find Out it on Terminal See: How to Access Downloads Folder from Browser.

Contents