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

Step-by-step – How to Install GCC 12.1 on Kali

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

Switching

  1. 8. Switching System GCC

    Finally, to easy Managing GCC Versions use update-alternatives
    So first install the New GCC 12.1.x with, for instance:

    sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/bin/x86_64-pc-linux-gnu-gcc-12.1.0 10

    In case, replace 12.1.0 with your current version in the above Command.
    To check it run:

    ls /usr/local/bin | grep gcc-12

    The grep Command refine the output List showing only the Entries matching the Keyword.
    And then the to Setup also the System GCC use:

    sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/bin/gcc 20

    Next to Switch between GCC Versions play:

    sudo update-alternatives --config gcc

    Last, to test the GCC in use:

    gcc -v
    Gcc 12.1 Version
  2. Step-by-step GCC 12.1 Kali Linux Installation Guide - update-alternatives GCC

    Congratulations, your GCC 12.1 should be now nicely working on Kali Linux. Good Luck! :)

Contents