Automic VaultAutomic Vault

brew

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

GNU compiler collection. Version 13.4.0 via Homebrew; verified 2026-06-27.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcc@13

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gcc13

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

Linux

Debian aptverified · 92%
sudo apt install cpp-13

Debian stable package indexes · cpp-13 · source: deb.debian.org

openSUSE zypperverified · 92%
sudo zypper install cpp13

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

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

Alpine Linux edge package indexes · g++ · source: dl-cdn.alpinelinux.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

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-darwin24-c++-13
  • aarch64-apple-darwin24-g++-13
  • aarch64-apple-darwin24-gcc-13
  • aarch64-apple-darwin24-gcc-ar-13
  • aarch64-apple-darwin24-gcc-nm-13
  • aarch64-apple-darwin24-gcc-ranlib-13
  • aarch64-apple-darwin24-gfortran-13
  • c++-13
  • cpp-13
  • g++-13
  • gcc-13
  • gcc-ar-13
  • gcc-nm-13
  • gcc-ranlib-13
  • gcov-13
  • gcov-dump-13
  • gcov-tool-13
  • gfortran-13
  • lto-dump-13

history

Project history and usage

GCC 13 is a versioned Homebrew package for the GCC 13 release series of the GNU Compiler Collection. It provides the GNU Project compiler suite under major-version-suffixed command names so it can coexist with other GCC lines and platform compilers.

GCC itself is one of the central free-software toolchains: the official project describes it as the GNU Compiler Collection, with front ends for C, C++, Objective-C, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68, plus runtime libraries such as libstdc++.

Project history

GCC began as the GNU C Compiler. The GCC project history records the first beta release on March 22, 1987, by Richard Stallman, originally for the GNU operating system and initially centered on C.

During the 1990s, GCC grew beyond C into a multi-language compiler suite. The official GCC 2.95 page notes that the name changed from GNU C Compiler to GNU Compiler Collection because the compiler supported several languages beyond C.

A major governance and development milestone was the EGCS fork in 1997, created to merge active GCC development work from several communities. GCC and EGCS were reunified in April 1999, and GCC 2.95 was the first release after that reunification.

Adoption history

GCC became widely adopted because it was both the GNU system compiler and an openly developed, portable optimizing compiler. The current mission statement emphasizes support for many platforms, many architectures, open mailing lists, and participation by individuals and companies.

The GCC 13 package represents package-manager demand for a stable major compiler series rather than only the newest compiler. Official release branches and tags make these major lines easy for distributors and users to pin, audit, and rebuild.

How it is used

As packaged here, GCC 13 exposes version-suffixed compiler tools such as gcc-13, g++-13, cpp-13, gcov-13, and gfortran-13, depending on the platform package. This lets users select the intended compiler line explicitly in build scripts.

Official GCC installation documentation covers downloading sources, configuring, building, testing, and final installation, while the online manuals document compiler invocation, language front ends, runtime libraries, and toolchain options.

The GCC 13 change notes include toolchain-facing features such as SARIF diagnostic output, LTO jobserver improvements, and C/C++ warning and analyzer work.

Why package nerds care

Versioned GCC packages matter because compilers are infrastructure, not leaf applications. A build may need a particular major GCC for language support, libstdc++ behavior, Fortran ABI expectations, sanitizer behavior, or target support, while another project on the same machine needs a different line.

The official Git repository page documents release branches and release tags, which is exactly the provenance package maintainers need when mapping formula names such as gcc@12 or gcc@15 to upstream source history.

Timeline

  • 1987: First GCC beta release as the GNU C Compiler
  • 1997: EGCS fork announced as an experimental GCC development project
  • 1999: GCC and EGCS reunified; GCC 2.95 released after reunification
  • 2023: GCC 13.1 released on April 26
  • 2025: GCC 13.4 released on June 5

Related projects

  • EGCS is the historically important GCC fork that was later reunified with GCC.
  • Related components within the GCC distribution include libstdc++, GFortran, GOMP/libgomp, GCC Go, GDC, GM2, and newer front ends documented on the official GCC site.
  • GCC is part of the wider GNU toolchain ecosystem and is commonly used with source-control, build, and generated-file tooling such as Git, Autoconf, Bison, Automake, Xgettext, and Gperf, all mentioned in GCC source-tree documentation.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for gcc@13. 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-darwin24-c++-13cliglobal executable
aarch64-apple-darwin24-g++-13cliglobal executable
aarch64-apple-darwin24-gcc-13cliglobal executable
aarch64-apple-darwin24-gcc-ar-13cliglobal executable
aarch64-apple-darwin24-gcc-nm-13cliglobal executable
aarch64-apple-darwin24-gcc-ranlib-13cliglobal executable
aarch64-apple-darwin24-gfortran-13cliglobal executable
c++-13cliglobal executable
cpp-13cliglobal executable
g++-13cliglobal executable
gcc-13cliglobal executable
gcc-ar-13cliglobal executable
gcc-nm-13cliglobal executable
gcc-ranlib-13cliglobal executable
gcov-13cliglobal executable
gcov-dump-13cliglobal executable
gcov-tool-13cliglobal executable
gfortran-13cliglobal executable
lto-dump-13cliglobal 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 version13.4.0
manager updated2026-06-27
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@13
Version13.4.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcc@13
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-13.4.0/gcc-13.4.0.tar.xz
Last updated2026-06-27T22:55:22Z
Pulseupdated
Dependenciesgmp, isl, libmpc, mpfr, zstd
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@13
Version Scheme0
Revision0
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.

Debian apt95%

cpp-13 13.3.0-16

GNU C preprocessor

http://gcc.gnu.org/

sudo apt install cpp-13
  • Section: interpreters
  • Architecture: amd64
  • Source Package: gcc-13
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpp-13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cpp-13-for-build 13.3.0-16

GNU C preprocessor for the build architecture

http://gcc.gnu.org/

sudo apt install cpp-13-for-build
  • Section: interpreters
  • Architecture: all
  • Source Package: gcc-13
  • 2 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpp-13-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cpp-13-for-host 13.3.0-16

GNU C preprocessor for the host architecture

http://gcc.gnu.org/

sudo apt install cpp-13-for-host
  • Section: interpreters
  • Architecture: amd64
  • Source Package: gcc-13
  • 2 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpp-13-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cpp-13-x86-64-linux-gnu 13.3.0-16

GNU C preprocessor for x86_64-linux-gnu

http://gcc.gnu.org/

sudo apt install cpp-13-x86-64-linux-gnu
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 8 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpp-13-x86-64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-13 13.3.0-16

GNU C++ compiler

http://gcc.gnu.org/

sudo apt install g++-13
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 3 dependencies
  • 2 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-13-for-build 13.3.0-16

GNU C++ compiler for the build architecture

http://gcc.gnu.org/

sudo apt install g++-13-for-build
  • Section: devel
  • Architecture: all
  • Source Package: gcc-13
  • 4 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-13-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-13-for-host 13.3.0-16

GNU C++ compiler for the host architecture

http://gcc.gnu.org/

sudo apt install g++-13-for-host
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 3 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-13-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-13-multilib 13.3.0-16

GNU C++ compiler (multilib support)

http://gcc.gnu.org/

sudo apt install g++-13-multilib
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-13-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-13-x86-64-linux-gnu 13.3.0-16

GNU C++ compiler for x86_64-linux-gnu architecture

http://gcc.gnu.org/

sudo apt install g++-13-x86-64-linux-gnu
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 10 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-13-x86-64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-13 13.3.0-16

GNU C compiler

http://gcc.gnu.org/

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

gcc-13-base 13.3.0-16

GCC, the GNU Compiler Collection (base package)

http://gcc.gnu.org/

sudo apt install gcc-13-base
  • Section: libs
  • Architecture: amd64
  • Source Package: gcc-13
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-13-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-13-for-build 13.3.0-16

GNU C compiler for the build architecture

http://gcc.gnu.org/

sudo apt install gcc-13-for-build
  • Section: devel
  • Architecture: all
  • Source Package: gcc-13
  • 3 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-13-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-13-for-host 13.3.0-16

GNU C compiler for the host architecture

http://gcc.gnu.org/

sudo apt install gcc-13-for-host
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 3 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-13-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-13-hppa64-linux-gnu 13.3.0-16

GNU C compiler (cross compiler for hppa64)

http://gcc.gnu.org/

sudo apt install gcc-13-hppa64-linux-gnu
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-13-hppa64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-13-locales 13.3.0-16

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

http://gcc.gnu.org/

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

gcc-13-multilib 13.3.0-16

GNU C compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gcc-13-multilib
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-13
  • 6 dependencies
  • normalized package name match
  • Matched by: Gcc 13
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-13-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

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