Even though it’s “just” a compiler, GCC is tied to a number of core packages, which means it’s difficult to upgrade to a newer version than the version around which a Debian release is based (in Debian 11, that’s GCC 10). Ultimately you risk breaking your setup.
You could manually build GCC 11 on your Debian 11 system, but in practice it should be much easier to run your builds in a Debian 12 container (which will have GCC 11).
Answer from Stephen Kitt on Stack ExchangeGNU
gcc.gnu.org › releases.html
GCC Releases - GNU Project
April 30, 2026 - GCC releases may be downloaded from our mirror sites.
SourceForge
sourceforge.net › home › open source software › software development › build tools › gcc-win64
Download gcc-11.4.0-no-debug.7z (gcc-win64)
GnuWin GnuWin provides Win32-versions of GNU tools, or tools with a similar open source licence. The ports are native ports, relying only on libraries provided with any modern 32-bits MS-Windows operating system, such as 2000 / XP / Vista / 7 · 78 Reviews Downloads: 36,988 This Week Last Update: 2015-05-20 ... Get notified by email when gcc-win64 releases a new version.
Wayne
ftp.wayne.edu › gnu › gcc › gcc-11.4.0
Index of /gnu/gcc/gcc-11.4.0
Index of /gnu/gcc/gcc-11.4.0
Ubuntu
packages.ubuntu.com › jammy › gcc-11
Ubuntu – Details of package gcc-11 in jammy
Download Source Package gcc-11: [gcc-11_11.4.0-1ubuntu1~22.04.3.dsc] [gcc-11_11.4.0.orig.tar.gz] [gcc-11_11.4.0-1ubuntu1~22.04.3.debian.tar.xz] Maintainer: Ubuntu Developers (Mail Archive) · Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly
GNU
gcc.gnu.org › pub › gcc › releases
Index of /pub/gcc/releases
Index of /pub/gcc/releases
Pkgs.org
pkgs.org › download › gcc
Gcc Download (APK, DEB, EOPKG, IPK, PKG, RPM, TXZ, XBPS, XZ, ZST)
Download gcc packages for Adélie, AlmaLinux, Alpine, ALT Linux, Amazon Linux, Arch Linux, CentOS, Debian, Fedora, FreeBSD, KaOS, Mageia, OpenMandriva, openSUSE, OpenWrt, PCLinuxOS, Rocky Linux, Slackware, Solus, Ubuntu, Void Linux
GNU
gcc.gnu.org
GCC, the GNU Compiler Collection - GNU Project
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68 as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system.
GNU
gcc.gnu.org › gcc-11
GCC 11 Release Series - GNU Project
To obtain GCC please use our mirror sites or our version control system.
Pkgs.org
pkgs.org › download › gcc-11
Gcc-11 Download for Linux (apk deb)
Search and download Linux packages for Adélie, AlmaLinux, Alpine, ALT Linux, Arch Linux, CentOS, Debian, Fedora, KaOS, Mageia, Mint, OpenMandriva, openSUSE, OpenWrt, RHEL, Rocky Linux, Slackware, Solus, Ubuntu and Void Linux distributions
Lbl
scienceit-docs.lbl.gov › hpc › software › compilers › gcc
GCC - Science IT Technical Documentation
August 13, 2024 - Several gcc compiler versions are available on Lawrencium. The default gcc compiler is gcc/11.4.0 available through module load gcc. Two other gcc versions are available: gcc/10.5.0 and gcc/13.2.0.
Linux From Scratch
linuxfromscratch.org › blfs › view › 11.0 › general › gcc.html
GCC-11.2.0
In case that happens, the “fixed” headers must be updated by running (as root): /usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/install-tools/mkheaders . The machine triplet may be different on a 32bit system. Download (HTTP): https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz
Ubuntu
launchpad.net › ubuntu › noble › +source › gcc-11
Noble (24.04) : gcc-11 package : Ubuntu
Current version: 11.5.0-1ubuntu1~24.04.1 · Uploaded: 2026-01-16 · Urgency: Medium Urgency · gcc ⇒ head · The GNU Compiler Collection contains frontends for C, C++, Objective-C, Fortran, Java, and Ada as well as libraries for these languages. Bug supervisor: no · Bug tracker: yes · Branch: yes · Translations: no · There are no registered releases for the gcc ⇒ head. Show upstream links · 11.4.0-4ubuntu1 ·
Ubuntu
launchpad.net › ubuntu › +source › gcc-11
gcc-11 package in Ubuntu
+-11-dev: GNU Standard C++ Library v3 (development files) libx32stdc+ ... This package has 9 new bugs and 0 open questions. ... The GNU Compiler Collection contains frontends for C, C++, Objective-C, Fortran, Java, and Ada as well as libraries for these languages. ... There are no registered releases for the gcc ⇒ head. ... Other versions of 'gcc-11' in untrusted archives.
Ubuntu
launchpad.net › ubuntu › jammy › +package › gcc-11
gcc-11 : Jammy (22.04) : Ubuntu
gcc-11 11.4.0-1ubuntu1~22.04.3 source package in Ubuntu
GNU
gcc.gnu.org › install
Installing GCC - GNU Project
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 · This document describes the generic installation procedure for GCC as well as detailing ...
DevDocs
devdocs.io › gcc~11
DevDocs — GCC 11 documentation
GCC 11.4.0 API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more.