macOS
brew install gcc@11local Homebrew formula metadata
sudo port install gcc11MacPorts ports tree · lang/gcc11/Portfile · source: api.github.com
brew
GNU compiler collection. Version 11.5.0 via Homebrew; verified 2026-07-03.
install
brew install gcc@11local Homebrew formula metadata
sudo port install gcc11MacPorts ports tree · lang/gcc11/Portfile · source: api.github.com
sudo apt install cpp-11Ubuntu 24.04 LTS package indexes · cpp-11 · source: archive.ubuntu.com
sudo apk add g++Alpine Linux edge package indexes · g++ · source: dl-cdn.alpinelinux.org
sudo apt install gccDebian stable package indexes · gcc · source: deb.debian.org
sudo dnf install cppFedora Rawhide package metadata · cpp · source: dl.fedoraproject.org
nix profile install nixpkgs#gccnixpkgs package indexes · gcc · source: raw.githubusercontent.com
sudo pacman -S gccArch Linux sync databases · gcc · source: geo.mirror.pkgbuild.com
sudo zypper install cppopenSUSE Tumbleweed package metadata · cpp · source: download.opensuse.org
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · source: api.github.com
overview
GNU compiler collection
history
GCC 11 is the Homebrew versioned packaging line for the GCC 11 release series. Like gcc@10, it preserves a specific GNU Compiler Collection major version for projects that need a stable compiler generation.
The official GCC timeline lists GCC 11.1 on April 27, 2021, then 11.2 in July 2021, 11.3 in April 2022, 11.4 in May 2023, and 11.5 in July 2024. The GCC 11 change notes call out a default C++ mode change to gnu++17, new diagnostic column behavior, sanitizer improvements, DWARF 5 debug information defaults for many targets, and a C++11-capable host compiler requirement for building GCC itself.
Versioned GCC 11 packages became useful as distributions and users moved past GCC 10 but still needed to pin a compiler before later GCC majors. For package managers, a versioned formula lets recipes and local builds request gcc-11, g++-11, or gfortran-11 without making the whole system follow that major.
The Homebrew package exposes version-suffixed tools such as cpp-11, gcov-11, lto-dump-11, and target-prefixed gcc/g++/gfortran executables. Upstream source control uses the same GCC repository with release branches such as releases/gcc-11 and release tags documented by the GCC Git page.
gcc@11 is important as a compatibility and migration package: it carries the first GCC major where gnu++17 became the default C++ mode, while still giving packagers a pinned compiler older than the newest GCC line.
security posture
No matching local secret-handling manifest was found for gcc@11. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aarch64-apple-darwin23-c++-11 | cli | global executable | |
aarch64-apple-darwin23-gcc-11 | cli | global executable | |
aarch64-apple-darwin23-gcc-ar-11 | cli | global executable | |
aarch64-apple-darwin23-gcc-nm-11 | cli | global executable | |
aarch64-apple-darwin23-gcc-ranlib-11 | cli | global executable | |
aarch64-apple-darwin23-gfortran-11 | cli | global executable | |
cpp-11 | cli | global executable | |
gcov-11 | cli | global executable | |
gcov-dump-11 | cli | global executable | |
gcov-tool-11 | cli | global executable | |
lto-dump-11 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:gcc@11 |
|---|---|
| Version | 11.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gcc@11 |
| Homepage | https://gcc.gnu.org/ |
| Repository | https://gcc.gnu.org/git/gcc.git |
| Upstream docs | https://gcc.gnu.org/install |
| License | GPL-3.0-or-later WITH GCC-exception-3.1 |
| Source archive | https://ftpmirror.gnu.org/gnu/gcc/gcc-11.5.0/gcc-11.5.0.tar.xz |
| Last updated | 2026-07-03T16:37:19-04:00 |
| Pulse | updated |
| Dependencies | gmp, isl, libmpc, mpfr, zstd |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sonoma, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc@11 |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cpp-11 11.4.0-9ubuntu1
GNU C preprocessor
sudo apt install cpp-11cpp-11-doc 11.4.0-9ubuntu1
Documentation for the GNU C preprocessor (cpp)
sudo apt install cpp-11-docg++-11 11.4.0-9ubuntu1
GNU C++ compiler
sudo apt install g++-11g++-11-multilib 11.4.0-9ubuntu1
GNU C++ compiler (multilib support)
sudo apt install g++-11-multilibgcc-11 11.4.0-9ubuntu1
GNU C compiler
sudo apt install gcc-11gcc-11-base 11.4.0-9ubuntu1
GCC, the GNU Compiler Collection (base package)
sudo apt install gcc-11-basegcc-11-doc 11.4.0-9ubuntu1
Documentation for the GNU compilers (gcc, gobjc, g++)
sudo apt install gcc-11-docgcc-11-hppa64-linux-gnu 11.4.0-9ubuntu1
GNU C compiler (cross compiler for hppa64)
sudo apt install gcc-11-hppa64-linux-gnugcc-11-locales 11.4.0-9ubuntu1
GCC, the GNU compiler collection (native language support files)
sudo apt install gcc-11-localesgcc-11-multilib 11.4.0-9ubuntu1
GNU C compiler (multilib support)
sudo apt install gcc-11-multilibgcc-11-offload-amdgcn 11.4.0-9ubuntu1
GCC offloading compiler to GCN
sudo apt install gcc-11-offload-amdgcngcc-11-offload-nvptx 11.4.0-9ubuntu1
GCC offloading compiler to NVPTX
sudo apt install gcc-11-offload-nvptxgcc-11-plugin-dev 11.4.0-9ubuntu1
Files for GNU GCC plugin development.
sudo apt install gcc-11-plugin-devgcc-11-source 11.4.0-9ubuntu1
Source of the GNU Compiler Collection
sudo apt install gcc-11-sourcegcc-11-test-results 11.4.0-9ubuntu1
Test results for the GCC test suite
sudo apt install gcc-11-test-resultsgccbrig-11 11.4.0-9ubuntu1
GNU BRIG (HSA IL) frontend
sudo apt install gccbrig-11source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.