🌐
GNU
gcc.gnu.org › install
Installing GCC - GNU Project
January 2, 2026 - The latest version of this document is always available at https://gcc.gnu.org/install/. It refers to the current development sources, instructions for specific released versions are included with the sources.
🌐
Visual Studio Code
code.visualstudio.com › docs › cpp › config-mingw
Using GCC with MinGW
November 3, 2021 - You can install the C/C++ extension by searching for 'C++' in the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)). Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries.
Discussions

How to install GCC/G++ 8 on CentOS - Stack Overflow
I'm used to install packages on Debian/Ubuntu distributions, but now I need to install gcc and g++ version 8.*. There is only version 4.* in CentOS repositories. What's the correct way to install t... More on stackoverflow.com
🌐 stackoverflow.com
How do I get a GCC?
On which OS? More on reddit.com
🌐 r/C_Programming
31
2
September 1, 2022
Why is installation so complicated?
Those are really the build instructions, and yes, building gcc is painful. If you were on Linux I'd just say install the gcc package and be done, but on Windows I don't know. Let's ask Google ... Um, actually, it looks like a bit of a joke (I just searched for "install gcc on windows"), I wouldn't fancy it either. However, if you do want to run gcc on Windows, have a look at MinGW . Or else, bite the bullet and put Linux on a VM and discover how to do software development! (I may be biased here.) More on reddit.com
🌐 r/gcc
10
11
April 4, 2017
I can't install the GCC compiler recommended by Bro Code
Download from here and copy bin to path environment variable More on reddit.com
🌐 r/cprogramming
21
0
September 10, 2023
🌐
SourceForge
sourceforge.net › projects › gcc-win64
gcc-win64 download | SourceForge.net
Download gcc-win64 for free. x64 build of GCC for Windows. x64 C/C++ compiler for Windows using (unofficial build): - gmp - mpfr - mpc - isl - cloog - mingw-w64 - gcc - seh You need at least core2 command set support to run this application. Note that every version with bundled gdb needs at ...
🌐
Ubuntu
documentation.ubuntu.com › ubuntu-for-developers › howto › gcc-setup
How to set up a development environment for GCC on Ubuntu - Ubuntu for Developers
December 2, 2025 - From within NetBeans, install the C/C++ Pack by going to Tools ‣ Plugins ‣ Available Plugins ‣ Install. The standard debugger developed for GCC is the GNU Debugger (GDB).
🌐
GIGABYTE
gigabyte.com › consumer › software › gigabyte-control-center
GIGABYTE CONTROL CENTER - GIGABYTE Global
GIGABYTE Control Center (GCC) is a unified software platform across a variety of GIGABYTE products. Every available utility preferred is optimized and integrated with intuition ...
Find elsewhere
🌐
Red Hat
developers.redhat.com › articles › 2023 › 11 › 10 › install-gcc-and-build-hello-world-application-rhel-8
Install GCC and build a Hello World application on RHEL 8 | Red Hat Developer
November 10, 2023 - Download and install the development tools package group, which includes GNU Compiler Collection (GCC), GNU Debugger (GDB), and other development tools:
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install gcc on windows
How to Install GCC on Windows
September 23, 2024 - Install GCC on Windows using one of three methods: MinGW-w64, Chocolatey, or Windows Subsystem for Linux (WSL).
Top answer
1 of 5
20

I'm still on Ubuntu 22.04 LTS but needed g++14. The sudo apt-get gcc-14 did not work for me, as it installed clang++14 for some reason (perhaps a misconfiguration on my part). What did work for me was following the instructions I found at https://www.dedicatedcore.com/blog/install-gcc-compiler-ubuntu/

The steps I took:

sudo apt install build-essential
sudo apt install libmpfr-dev libgmp3-dev libmpc-dev -y
wget https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.gz
tar -xf gcc-14.1.0.tar.gz
cd gcc-14.1.0
./configure -v --build=$(uname -m)-linux-gnu --host=$(uname -m)-linux-gnu --target=$(uname -m)-linux-gnu --prefix=/usr/local/gcc-14.1.0 --enable-checking=release --enable-languages=c,c++ --disable-multilib --program-suffix=-14.1.0
make
sudo make install

And if you would like to make it the default:

sudo update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14

After that, g++ showed I was running version 14.1.0. I was then able to compile my project that included some c++20/23 features that were not in the previous versions of g++ (chrono/format).

2 of 5
15

GCC-14 (and G++-14) is available in the Universe repository for Ubuntu 24.04, as evident in the Ubuntu Package archive.

It is equally evident that this package is not available for Ubuntu 22.04, so installing this on 22.04 will require some third-party interference, or you have to compile it yourself.

See here on how to enable the Universe repositories.

🌐
Cherry Servers
cherryservers.com › home › blog › linux › how to install gcc on ubuntu 22.04 [and compile a c program]
How to Install GCC on Ubuntu 22.04 [and Compile a C Program] | Cherry Servers
November 7, 2025 - This article will show you how to install GCC on Ubuntu 22.04, compile a C program, and briefly explain the GCC compiler.
🌐
Instructables
instructables.com › design › software
Learn to Install GCC (Mingw-w64) Compiler Tools on Windows 10 Using MSYS2 : 9 Steps - Instructables
November 28, 2022 - Learn to Install GCC (Mingw-w64) Compiler Tools on Windows 10 Using MSYS2: We will learn How to install 64 bit (GCC) GNU Compiler Collection on a Windows 10 system using MSYS2 installer for C/C++ software development. After installing GCC, we will compile a Win32/64 GUI applica…
🌐
Namehero
namehero.com › blog › how-to-install-gcc-on-ubuntu
How To Install GCC On Ubuntu
November 4, 2024 - You’ll need these to install software and make system changes. If you’re the system administrator or the primary user of your Ubuntu system, you likely already have sudo access. If not, check with your system administrator. Internet Connection: Make sure you have an active internet connection. We’ll be downloading GCC and its dependencies from online repositories.
🌐
YouTube
youtube.com › watch
How to install GCC-win64 Compiler on Windows 10/11 [ 2025 Update ] Latest C/C++ GCC Compiler - YouTube
Hello Everyone! Today in this video I will guide you on How to download and install GCC-win64 version 14 for Windows Operating System. Toolset (gcc g++ gdb) ...
Published   February 9, 2025
🌐
Qiita
qiita.com › ubuntu
makeとgccのインストール方法 #Ubuntu - Qiita
March 24, 2024 - $ sudo apt purge gcc $ sudo apt-get autoremove $ sudo apt update $ sudo apt upgrade $ sudo apt full-upgrade $ sudo apt install gcc
🌐
LinkedIn
linkedin.com › pulse › installing-gcc-compiler-windows-run-c-program-gitbash-david-michael
Installing GCC Compiler in Windows To Run C Program on Gitbash and Setting the PATH Variable
February 5, 2023 - First, you have to install the MinGW32-base package. This package is used to compile the C program, including linker and other binary tools. Right-click on the MinGW32-base option and select Mark for Installation. MinGW32-gcc-g++ Package.