Automic VaultAutomic Vault

brew

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

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcc

local Homebrew formula metadata

Linux

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-unknown-linux-gnu-c++-15
  • aarch64-unknown-linux-gnu-g++-15
  • aarch64-unknown-linux-gnu-gcc-15
  • aarch64-unknown-linux-gnu-gcc-ar-15
  • aarch64-unknown-linux-gnu-gcc-nm-15
  • aarch64-unknown-linux-gnu-gcc-ranlib-15
  • aarch64-unknown-linux-gnu-gfortran-15
  • aarch64-unknown-linux-gnu-gm2-15
  • c++-15
  • cpp-15
  • g++-15
  • gcc-15
  • gcc-ar-15
  • gcc-nm-15
  • gcc-ranlib-15
  • gcov-15
  • gcov-dump-15
  • gcov-tool-15
  • gfortran
  • gfortran-15
  • gm2
  • gm2-15
  • lto-dump-15

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1987: GCC 0.9 first beta release.
  • 1987: GCC 1.0 released.
  • 1997: EGCS 1.0 released as a parallel compiler line.
  • 1999: GCC 2.95 released after the EGCS era.
  • 2001: GCC 3.0 released.
  • 2005: GCC 4.0.0 released.
  • 2015: GCC 5.1 released under the modern major-version release scheme.
  • 2025: GCC 15.1 released.
  • 2026: GCC 16.1 released.

Related projects

  • GCC is tied to the GNU Project, GNU/Linux distributions, libstdc++, binutils, GDB, the GNU build toolchain, and competing or complementary compilers such as Clang/LLVM. Its own official Git documentation also treats release branches and tags as first-class package artifacts.

security posture

Risk level: yellow

compiler and toolchain runtime.

Risk classifier

yellow risk · high confidence · runtime

Why

  • compiler and toolchain runtime

Signals

  • override:gcc

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.
  • Build metadata lists 1 build 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-unknown-linux-gnu-c++-15cliglobal executable
aarch64-unknown-linux-gnu-g++-15cliglobal executable
aarch64-unknown-linux-gnu-gcc-15cliglobal executable
aarch64-unknown-linux-gnu-gcc-ar-15cliglobal executable
aarch64-unknown-linux-gnu-gcc-nm-15cliglobal executable
aarch64-unknown-linux-gnu-gcc-ranlib-15cliglobal executable
aarch64-unknown-linux-gnu-gfortran-15cliglobal executable
aarch64-unknown-linux-gnu-gm2-15cliglobal executable
c++-15cliglobal executable
cpp-15cliglobal executable
g++-15cliglobal executable
gcc-15cliglobal executable
gcc-ar-15cliglobal executable
gcc-nm-15cliglobal executable
gcc-ranlib-15cliglobal executable
gcov-15cliglobal executable
gcov-dump-15cliglobal executable
gcov-tool-15cliglobal executable
gfortrancliglobal executable
gfortran-15cliglobal executable
gm2cliglobal executable
gm2-15cliglobal executable
lto-dump-15cliglobal 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 version16.1.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
Version16.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcc
Homepagehttps://gcc.gnu.org/
Repositoryhttps://gcc.gnu.org/git/gcc.git
Upstream docshttps://gcc.gnu.org/onlinedocs
LicenseGPL-3.0-or-later WITH GCC-exception-3.1
Source archivehttps://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz
Last updated2026-07-03T22:53:05-04:00
Pulseupdated
Dependenciesgmp, isl, libmpc, mpfr, zstd
Build dependenciesmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installdefined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcc
Aliases
  • gcc@16
  • gfortran
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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.

Debian apt95%

gcc 4:14.2.0-1

GNU C compiler

sudo apt install gcc
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-defaults
  • 4 dependencies
  • 1 provides
  • 12 optional deps
  • normalized package name match
  • Matched by: Gcc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gcc

nix profile install nixpkgs#gcc
  • normalized package name match
  • Matched by: Gcc
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gcc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

gcc 4:13.2.0-7ubuntu1

GNU C compiler

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

g++ 15.2.0-r5

GNU C++ standard library and compiler

https://gcc.gnu.org

sudo apk add g++
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: g++ from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc 15.2.0-r5

The GNU Compiler Collection

https://gcc.gnu.org

sudo apk add gcc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-doc 15.2.0-r5

The GNU Compiler Collection (documentation)

https://gcc.gnu.org

sudo apk add gcc-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-gdb 15.2.0-r5

The GNU Compiler Collection (gdb printers)

https://gcc.gnu.org

sudo apk add gcc-gdb
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-gdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-gdc 15.2.0-r5

GCC-based D language compiler

https://gcc.gnu.org

sudo apk add gcc-gdc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-gdc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-gnat 15.2.0-r5

Ada support for GCC

https://gcc.gnu.org

sudo apk add gcc-gnat
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-gnat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-go 15.2.0-r5

GCC Go frontend (intended for bootstrapping community/go)

https://gcc.gnu.org

sudo apk add gcc-go
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-go from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gcc-objc 15.2.0-r5

GNU Objective-C

https://gcc.gnu.org

sudo apk add gcc-objc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcc-objc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gfortran 15.2.0-r5

GNU Fortran Compiler

https://gcc.gnu.org

sudo apk add gfortran
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gfortran from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libatomic 15.2.0-r5

GCC Atomic library

https://gcc.gnu.org

sudo apk add libatomic
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libatomic from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgcc 15.2.0-r5

GNU C compiler runtime libraries

https://gcc.gnu.org

sudo apk add libgcc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgcc-static 15.2.0-r5

GNU C compiler runtime libraries

https://gcc.gnu.org

sudo apk add libgcc-static
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgcc-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgccjit 15.2.0-r5

GCC JIT Library

https://gcc.gnu.org

sudo apk add libgccjit
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgccjit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.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

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment