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

How to Install GCC 14.2 on Ubuntu 22.04 – Step-by-step

March 29, 2025 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 22.04 Installing GCC 14.2 from Source – QuickStart Guide

Hi! The Tutorial Shows You Step-by-step How to Install GNU Compiler Collection 14.2.x from Source in Ubuntu 22.04 Jammy LTS GNU/Linux.

And the GCC 14.2 for Ubuntu 22.04 is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.

Moreover, GCC 14.2 includes several New Features, Changes, and Fixes that you can consult on the GNU GCC Documentation.

Finally, this Setup is valid for all the Ubuntu-based Distros like:

  • Linux Mint
  • Zorin OS
  • Lubuntu
  • Elementary OS
  • Kde Neon
  • Pop_OS!
  • Xubuntu
  • Linux Lite
  • Bodhi
  • Puppy
  • Kubuntu
  • LXLE
  • Trisquel
  • Voyager Ubuntu
  • feren OS
  • Peppermint
  • Linux Ultimate Edition
  • (You may just need to Discover what’s the Parent Release)
How to Install GCC 14.2 on Ubuntu 22.04 – Step-by-step
  1. 1. Launching Terminal

    Open a Shell Session
    (Press “Enter” to Execute Commands)

    Step-by-step GCC 14.2 Installation in Ubuntu 22.04 Guide - Open Terminal
    In case first see: Terminal QuickStart Guide.
    And Update Ubuntu Apt Repository:
    sudo apt update
  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 14.2

    Download GCC 14.2 Source Code for GNU/Linux

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

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

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

Contents