Automic VaultAutomic Vault

brew

Install gcc@11 with Homebrew, apt, MacPorts, apk, dnf, Nix, pacman, scoop, zypper

GNU compiler collection. Version 11.5.0 via Homebrew; verified 2026-07-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcc@11

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gcc11

MacPorts ports tree · lang/gcc11/Portfile · source: api.github.com

Linux

Ubuntu aptverified · 92%
sudo apt install cpp-11

Ubuntu 24.04 LTS package indexes · cpp-11 · source: archive.ubuntu.com

Alpine Linux apkverified · 92%
sudo apk add g++

Alpine Linux edge package indexes · g++ · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gcc

Debian stable package indexes · gcc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cpp

Fedora Rawhide package metadata · cpp · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gcc

nixpkgs package indexes · gcc · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S gcc

Arch Linux sync databases · gcc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install cpp

openSUSE Tumbleweed package metadata · cpp · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/gcc

Scoop official bucket manifest trees · bucket/gcc.json · source: api.github.com

overview

Package summary

GNU compiler collection

Commands and aliases

  • aarch64-apple-darwin23-c++-11
  • aarch64-apple-darwin23-gcc-11
  • aarch64-apple-darwin23-gcc-ar-11
  • aarch64-apple-darwin23-gcc-nm-11
  • aarch64-apple-darwin23-gcc-ranlib-11
  • aarch64-apple-darwin23-gfortran-11
  • cpp-11
  • gcov-11
  • gcov-dump-11
  • gcov-tool-11
  • lto-dump-11

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1987: GCC 1.0 released.
  • 2021: GCC 11.1 released.
  • 2021: GCC 11.2 released.
  • 2022: GCC 11.3 released.
  • 2023: GCC 11.4 released.
  • 2024: GCC 11.5 released.

Related projects

  • GCC 11 is related to the main GCC project, libstdc++, binutils, gcov, LTO tooling, sanitizer runtimes, and neighboring versioned package-manager formulae such as gcc@10 and unversioned gcc.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 5 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
aarch64-apple-darwin23-c++-11cliglobal executable
aarch64-apple-darwin23-gcc-11cliglobal executable
aarch64-apple-darwin23-gcc-ar-11cliglobal executable
aarch64-apple-darwin23-gcc-nm-11cliglobal executable
aarch64-apple-darwin23-gcc-ranlib-11cliglobal executable
aarch64-apple-darwin23-gfortran-11cliglobal executable
cpp-11cliglobal executable
gcov-11cliglobal executable
gcov-dump-11cliglobal executable
gcov-tool-11cliglobal executable
lto-dump-11cliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version11.5.0
manager updated2026-07-03
local dataok
upstreamnot checked
latest detectednot detected

https://gcc.gnu.org/

  • infoRelease/tag comparison is only available for GitHub repositories.https://gcc.gnu.org/none confidence

install metadata

Package metadata

Package keybrew:gcc@11
Version11.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcc@11
Homepagehttps://gcc.gnu.org/
Repositoryhttps://gcc.gnu.org/git/gcc.git
Upstream docshttps://gcc.gnu.org/install
LicenseGPL-3.0-or-later WITH GCC-exception-3.1
Source archivehttps://ftpmirror.gnu.org/gnu/gcc/gcc-11.5.0/gcc-11.5.0.tar.xz
Last updated2026-07-03T16:37:19-04:00
Pulseupdated
Dependenciesgmp, isl, libmpc, mpfr, zstd
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sonoma, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installdefined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcc@11
Version Scheme0
Revision0
Requirements
  • maximum_macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Ubuntu apt95%

cpp-11 11.4.0-9ubuntu1

GNU C preprocessor

http://gcc.gnu.org/

sudo apt install cpp-11
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: gcc-11
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cpp-11-doc 11.4.0-9ubuntu1

Documentation for the GNU C preprocessor (cpp)

http://gcc.gnu.org/

sudo apt install cpp-11-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-11
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-11-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-11 11.4.0-9ubuntu1

GNU C++ compiler

http://gcc.gnu.org/

sudo apt install g++-11
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 10 dependencies
  • 2 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-11-multilib 11.4.0-9ubuntu1

GNU C++ compiler (multilib support)

http://gcc.gnu.org/

sudo apt install g++-11-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-11-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11 11.4.0-9ubuntu1

GNU C compiler

http://gcc.gnu.org/

sudo apt install gcc-11
  • Section: universe/devel
  • Architecture: amd64
  • 14 dependencies
  • 1 provides
  • 4 optional deps
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-base 11.4.0-9ubuntu1

GCC, the GNU Compiler Collection (base package)

http://gcc.gnu.org/

sudo apt install gcc-11-base
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gcc-11
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-base from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-doc 11.4.0-9ubuntu1

Documentation for the GNU compilers (gcc, gobjc, g++)

http://gcc.gnu.org/

sudo apt install gcc-11-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-11
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-hppa64-linux-gnu 11.4.0-9ubuntu1

GNU C compiler (cross compiler for hppa64)

http://gcc.gnu.org/

sudo apt install gcc-11-hppa64-linux-gnu
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-hppa64-linux-gnu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-locales 11.4.0-9ubuntu1

GCC, the GNU compiler collection (native language support files)

http://gcc.gnu.org/

sudo apt install gcc-11-locales
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-11
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-locales from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-multilib 11.4.0-9ubuntu1

GNU C compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gcc-11-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 6 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-offload-amdgcn 11.4.0-9ubuntu1

GCC offloading compiler to GCN

http://gcc.gnu.org/

sudo apt install gcc-11-offload-amdgcn
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-offload-amdgcn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-offload-nvptx 11.4.0-9ubuntu1

GCC offloading compiler to NVPTX

http://gcc.gnu.org/

sudo apt install gcc-11-offload-nvptx
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-offload-nvptx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-plugin-dev 11.4.0-9ubuntu1

Files for GNU GCC plugin development.

http://gcc.gnu.org/

sudo apt install gcc-11-plugin-dev
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 5 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-plugin-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-source 11.4.0-9ubuntu1

Source of the GNU Compiler Collection

http://gcc.gnu.org/

sudo apt install gcc-11-source
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-11
  • 10 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-11-test-results 11.4.0-9ubuntu1

Test results for the GCC test suite

http://gcc.gnu.org/

sudo apt install gcc-11-test-results
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-11-test-results from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gccbrig-11 11.4.0-9ubuntu1

GNU BRIG (HSA IL) frontend

http://gcc.gnu.org/

sudo apt install gccbrig-11
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-11
  • 12 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc 11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gccbrig-11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment