Automic VaultAutomic Vault

brew

Installer gcc avec Homebrew, apk, apt, dnf, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gcc pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install gcc

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add gcc

Alpine Linux edge package indexes · gcc · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install gcc

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

Fedora dnfvérifié · 92%
sudo dnf install gcc

Fedora Rawhide package metadata · gcc · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#gcc

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S gcc

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

openSUSE zyppervérifié · 92%
sudo zypper install gcc

openSUSE Tumbleweed package metadata · gcc · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/gcc

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

aperçu

Résumé du paquet

GNU compiler collection

Commandes et alias

  • 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

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : yellow

compiler and toolchain runtime.

Classificateur de risque

risque yellow · confiance élevé · runtime

Pourquoi

  • compiler and toolchain runtime

Signaux

  • override:gcc

Comportement d'installation

  • Homebrew déclare un hook post-install pour cette formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 8 plateformes.
  • S’installe avec 5 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
aarch64-unknown-linux-gnu-c++-15cliexécutable global
aarch64-unknown-linux-gnu-g++-15cliexécutable global
aarch64-unknown-linux-gnu-gcc-15cliexécutable global
aarch64-unknown-linux-gnu-gcc-ar-15cliexécutable global
aarch64-unknown-linux-gnu-gcc-nm-15cliexécutable global
aarch64-unknown-linux-gnu-gcc-ranlib-15cliexécutable global
aarch64-unknown-linux-gnu-gfortran-15cliexécutable global
aarch64-unknown-linux-gnu-gm2-15cliexécutable global
c++-15cliexécutable global
cpp-15cliexécutable global
g++-15cliexécutable global
gcc-15cliexécutable global
gcc-ar-15cliexécutable global
gcc-nm-15cliexécutable global
gcc-ranlib-15cliexécutable global
gcov-15cliexécutable global
gcov-dump-15cliexécutable global
gcov-tool-15cliexécutable global
gfortrancliexécutable global
gfortran-15cliexécutable global
gm2cliexécutable global
gm2-15cliexécutable global
lto-dump-15cliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire16.1.0
gestionnaire mis à jour2026-07-03
données localesOK
amontnot checked
dernière version détectéenon détecté

https://gcc.gnu.org/

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

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:gcc
Version16.1.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/gcc
Page d'accueilhttps://gcc.gnu.org/
Dépôthttps://gcc.gnu.org/git/gcc.git
Docs amonthttps://gcc.gnu.org/onlinedocs
LicenceGPL-3.0-or-later WITH GCC-exception-3.1
Archive sourcehttps://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz
Dernière mise à jour2026-07-03T22:53:05-04:00
Pulseupdated
Dépendancesgmp, isl, libmpc, mpfr, zstd
Dépendances de compilationmake
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
post-install Homebrewdéfini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

gcc 4:14.2.0-1

GNU C compiler

sudo apt install gcc
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-defaults
  • 4 Dépendances
  • 1 fournit
  • 12 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • 12 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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