GNU/Linux Zorin OS Installing GCC 15.2 from Source – Quick Start Guide
[ad_slider autoplay=”true” interval=”8″ count=”5″]How to Install GCC 15.x from Source on Zorin OS GNU/Linux desktop – Step by step Tutorial Tutorial.
And the GCC 15.2 for Zorin OS Linux is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.
Finally, GCC 15 includes several New Features, Changes, and Fixes that you can consult on the GNU GCC Documentatio.
1. Launching Terminal
Open a Terminal Shell emulator window
Ctrl+Alt+t on desktop
(Press “Enter” to Execute Commands)And Update 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. 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. Downloading GCC 15
Download GCC 15.2 Source Code for GNU/Linux
Navigate to the 15.x Folder to Grab the Package.GCC 15.2 Source tar.gz[ad_slider autoplay=”true” interval=”8″ count=”5″]4. Extracting GCC 15
Then to Extract GCC 15 Archive
If it does Not Open automatically then Double-Click/Right-Click to Open with Archive Manager:
Or from Command Line:
tar xvzf ~/Downloads/gcc-15.*.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 Browse.
Contents