How to Switch GCC Version on Linux Mint 20

August 7, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.

GNU/Linux Mint 20 Switching GCC Version Guide

Hi! The Tutorial Shows You Step-by-step How to Manage GCC Versions in GNU/Linux Mint 20.x Ulyana/Ulyssa LTS.

And to Switch GCC on Linux Mint 20 I make use of the useful update-alternatives Command Line Tool.

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

How to Switch GCC Version on Linux Mint 20 - Featured
  1. 1. Terminal Getting-Started Guide

    How-to Quick-Start with Command Line on Mint GNU/Linux

    Command Line Mint Linux QuickStart Guide
  2. 2. Querying for GCC

    First, if needed Look up available GCCs
    First, find out what the GCC in use:

    which gcc
    Next to check for others available GCC Releases use the grep Command:
    ls -l /usr/bin | grep gcc
    And in case of a GCC Source installation also:
    ls -l /usr/local/bin | grep gcc
    The grep Command refine the output List showing only the Entries matching the Keyword.

Tags: , , , , , , ,

QuickChic Theme • Powered by WordPress