macOS
brew install gcclocal Homebrew formula metadata
brew
GNU compiler collection. Version 16.1.0 via Homebrew; verified 2026-07-03.
install
brew install gcclocal Homebrew formula metadata
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, the GNU Compiler Collection, is the GNU project's long-running compiler suite and one of the central packages in free-software toolchains. It is both a user-facing compiler driver family and a distribution-building dependency for C, C++, Fortran, Objective-C, Ada, Go-related runtime pieces, and other GCC-supported languages and targets.
The official release timeline lists GCC 0.9 as the first beta release in March 1987 and GCC 1.0 in May 1987. The project later absorbed the EGCS line: the timeline records EGCS 1.0 in December 1997, EGCS 1.1.x through March 1999, and GCC 2.95 in July 1999, the release family generally associated with the reunited GCC project.
The GCC mission statement frames the project as part of GNU and explicitly targets the GNU system, GNU/Linux, multiple architectures, and diverse platforms. This open-development and multi-target mission is why GCC became a default compiler in many Unix-like operating systems and remains a package-manager anchor: large parts of a distribution are either built by it, bootstrap it, or carry compatibility logic for it.
Package users normally invoke compiler drivers such as gcc, g++, cpp, gfortran, gcov, and lto-dump, while packagers care about release branches, source tarballs, bootstrapping requirements, generated files in Git checkouts, and runtime-library licensing. The official Git page documents cloning from https://gcc.gnu.org/git/gcc.git, release branches under releases/gcc-N, and release tags such as releases/gcc-X.Y.0.
GCC is package-manager infrastructure, not just another package. It drives ABI compatibility, bootstrap chains, language standard defaults, libstdc++ behavior, cross-compilation targets, build flags, sanitizer support, and the difference between a distribution that can rebuild itself and one that cannot.
security posture
compiler and toolchain runtime.
yellow risk · high confidence · runtime
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-unknown-linux-gnu-c++-15 | cli | global executable | |
aarch64-unknown-linux-gnu-g++-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gcc-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gcc-ar-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gcc-nm-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gcc-ranlib-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gfortran-15 | cli | global executable | |
aarch64-unknown-linux-gnu-gm2-15 | cli | global executable | |
c++-15 | cli | global executable | |
cpp-15 | cli | global executable | |
g++-15 | cli | global executable | |
gcc-15 | cli | global executable | |
gcc-ar-15 | cli | global executable | |
gcc-nm-15 | cli | global executable | |
gcc-ranlib-15 | cli | global executable | |
gcov-15 | cli | global executable | |
gcov-dump-15 | cli | global executable | |
gcov-tool-15 | cli | global executable | |
gfortran | cli | global executable | |
gfortran-15 | cli | global executable | |
gm2 | cli | global executable | |
gm2-15 | cli | global executable | |
lto-dump-15 | 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 |
|---|---|
| Version | 16.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gcc |
| Homepage | https://gcc.gnu.org/ |
| Repository | https://gcc.gnu.org/git/gcc.git |
| Upstream docs | https://gcc.gnu.org/onlinedocs |
| License | GPL-3.0-or-later WITH GCC-exception-3.1 |
| Source archive | https://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz |
| Last updated | 2026-07-03T22:53:05-04:00 |
| Pulse | updated |
| Dependencies | gmp, isl, libmpc, mpfr, zstd |
| Build dependencies | make |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
gcc 4:14.2.0-1
GNU C compiler
sudo apt install gccgcc
nix profile install nixpkgs#gccgcc 4:13.2.0-7ubuntu1
GNU C compiler
sudo apt install gccg++ 15.2.0-r5
GNU C++ standard library and compiler
sudo apk add g++gcc 15.2.0-r5
The GNU Compiler Collection
sudo apk add gccgcc-doc 15.2.0-r5
The GNU Compiler Collection (documentation)
sudo apk add gcc-docgcc-gdb 15.2.0-r5
The GNU Compiler Collection (gdb printers)
sudo apk add gcc-gdbgcc-gdc 15.2.0-r5
GCC-based D language compiler
sudo apk add gcc-gdcgcc-gnat 15.2.0-r5
Ada support for GCC
sudo apk add gcc-gnatgcc-go 15.2.0-r5
GCC Go frontend (intended for bootstrapping community/go)
sudo apk add gcc-gogcc-objc 15.2.0-r5
GNU Objective-C
sudo apk add gcc-objcgfortran 15.2.0-r5
GNU Fortran Compiler
sudo apk add gfortranlibatomic 15.2.0-r5
GCC Atomic library
sudo apk add libatomiclibgcc 15.2.0-r5
GNU C compiler runtime libraries
sudo apk add libgcclibgcc-static 15.2.0-r5
GNU C compiler runtime libraries
sudo apk add libgcc-staticlibgccjit 15.2.0-r5
GCC JIT Library
sudo apk add libgccjitsource 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.