macOS
brew install gcc@13local Homebrew formula metadata
sudo port install gcc13MacPorts ports tree · lang/gcc13/Portfile · source: api.github.com
brew
GNU compiler collection. Version 13.4.0 via Homebrew; verified 2026-06-27.
install
brew install gcc@13local Homebrew formula metadata
sudo port install gcc13MacPorts ports tree · lang/gcc13/Portfile · source: api.github.com
sudo apt install cpp-13Debian stable package indexes · cpp-13 · source: deb.debian.org
sudo zypper install cpp13openSUSE Tumbleweed package metadata · cpp13 · source: download.opensuse.org
sudo apk add g++Alpine Linux edge package indexes · g++ · source: dl-cdn.alpinelinux.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
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · source: api.github.com
overview
GNU compiler collection
history
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++.
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.
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.
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.
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.
security posture
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.
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-apple-darwin24-c++-13 | cli | global executable | |
aarch64-apple-darwin24-g++-13 | cli | global executable | |
aarch64-apple-darwin24-gcc-13 | cli | global executable | |
aarch64-apple-darwin24-gcc-ar-13 | cli | global executable | |
aarch64-apple-darwin24-gcc-nm-13 | cli | global executable | |
aarch64-apple-darwin24-gcc-ranlib-13 | cli | global executable | |
aarch64-apple-darwin24-gfortran-13 | cli | global executable | |
c++-13 | cli | global executable | |
cpp-13 | cli | global executable | |
g++-13 | cli | global executable | |
gcc-13 | cli | global executable | |
gcc-ar-13 | cli | global executable | |
gcc-nm-13 | cli | global executable | |
gcc-ranlib-13 | cli | global executable | |
gcov-13 | cli | global executable | |
gcov-dump-13 | cli | global executable | |
gcov-tool-13 | cli | global executable | |
gfortran-13 | cli | global executable | |
lto-dump-13 | 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@13 |
|---|---|
| Version | 13.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gcc@13 |
| Homepage | https://gcc.gnu.org/ |
| Repository | https://gcc.gnu.org/git/gcc.git |
| Upstream docs | https://gcc.gnu.org/install |
| License | GPL-3.0-or-later WITH GCC-exception-3.1 |
| Source archive | https://ftpmirror.gnu.org/gnu/gcc/gcc-13.4.0/gcc-13.4.0.tar.xz |
| Last updated | 2026-06-27T22:55:22Z |
| Pulse | updated |
| Dependencies | gmp, isl, libmpc, mpfr, zstd |
| 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@13 |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
cpp-13 13.3.0-16
GNU C preprocessor
sudo apt install cpp-13cpp-13-for-build 13.3.0-16
GNU C preprocessor for the build architecture
sudo apt install cpp-13-for-buildcpp-13-for-host 13.3.0-16
GNU C preprocessor for the host architecture
sudo apt install cpp-13-for-hostcpp-13-x86-64-linux-gnu 13.3.0-16
GNU C preprocessor for x86_64-linux-gnu
sudo apt install cpp-13-x86-64-linux-gnug++-13 13.3.0-16
GNU C++ compiler
sudo apt install g++-13g++-13-for-build 13.3.0-16
GNU C++ compiler for the build architecture
sudo apt install g++-13-for-buildg++-13-for-host 13.3.0-16
GNU C++ compiler for the host architecture
sudo apt install g++-13-for-hostg++-13-multilib 13.3.0-16
GNU C++ compiler (multilib support)
sudo apt install g++-13-multilibg++-13-x86-64-linux-gnu 13.3.0-16
GNU C++ compiler for x86_64-linux-gnu architecture
sudo apt install g++-13-x86-64-linux-gnugcc-13 13.3.0-16
GNU C compiler
sudo apt install gcc-13gcc-13-base 13.3.0-16
GCC, the GNU Compiler Collection (base package)
sudo apt install gcc-13-basegcc-13-for-build 13.3.0-16
GNU C compiler for the build architecture
sudo apt install gcc-13-for-buildgcc-13-for-host 13.3.0-16
GNU C compiler for the host architecture
sudo apt install gcc-13-for-hostgcc-13-hppa64-linux-gnu 13.3.0-16
GNU C compiler (cross compiler for hppa64)
sudo apt install gcc-13-hppa64-linux-gnugcc-13-locales 13.3.0-16
GCC, the GNU compiler collection (native language support files)
sudo apt install gcc-13-localesgcc-13-multilib 13.3.0-16
GNU C compiler (multilib support)
sudo apt install gcc-13-multilibsource 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.