GNU/Linux Debian Bookworm Installing GCC 13.2 from Source – QuickStart Guide
Hi! The Tutorial Shows You Step-by-step How to Install GNU Compiler Collection 13.2.x from Source in Debian Bookworm 12.x GNU/Linux.
And the GCC 13.2 for Debian Bookworm is a Compilers Collection currently supporting C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go, and BRIG (HSAIL) Languages.
Moreover, GCC 13.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 Debian-based Distros like:
- Kali
- MX Linux
- Deepin
- Parrot
- antiX
- SparkyLinux
- Q4OS
- Netrunner
- Voyager
- MakuluLinux
- Elive
- LMDE
- Parsix (You may just need to Discover what’s the Parent Release)
1. Launching Terminal
Open a Shell Session
(Press “Enter” to Execute Commands)
And Update Debian Apt Repository:sudo apt update
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 13.2
Download GCC 13.2 Source Code for GNU/Linux
Navigate to the 13.2.x Folder to Grab the Package.4. Extracting GCC 13.2
Then to Extract GCC 13.2 Archive
Or from Command Line:
If it does Not Open automatically then Double-Click/Right-Click to Open with Archive Manager:tar xvzf ~/Downloads/gcc-13.*.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