Automic VaultAutomic Vault

brew

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

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcc@15

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gcc15

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

Linux

Fedora dnfverified · 92%
sudo dnf install gcc15

Fedora Rawhide package metadata · gcc15 · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S gcc15

Arch Linux sync databases · gcc15 · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install cpp15

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

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

Nixverified · 92%
nix profile install nixpkgs#gcc

nixpkgs package indexes · gcc · source: raw.githubusercontent.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

  • x86_64-pc-linux-gnu-c++-15
  • x86_64-pc-linux-gnu-g++-15
  • x86_64-pc-linux-gnu-gcc-15
  • x86_64-pc-linux-gnu-gcc-ar-15
  • x86_64-pc-linux-gnu-gcc-nm-15
  • x86_64-pc-linux-gnu-gcc-ranlib-15
  • x86_64-pc-linux-gnu-gfortran-15
  • x86_64-pc-linux-gnu-gm2-15

history

Project history and usage

GCC 15 is a versioned Homebrew package for the GCC 15 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 15 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 15 exposes version-suffixed compiler tools such as gcc-15, g++-15, cpp-15, gcov-15, and gfortran-15, 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 15 change notes add package-visible changes such as incremental LTO support, multiple simultaneous diagnostic outputs, expanded OpenMP offload features, and an ISO COBOL compiler front end.

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
  • 2025: GCC 15.1 released on April 25
  • 2026: GCC 15.3 released on June 12

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@15. 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.
  • 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
x86_64-pc-linux-gnu-c++-15cliglobal executable
x86_64-pc-linux-gnu-g++-15cliglobal executable
x86_64-pc-linux-gnu-gcc-15cliglobal executable
x86_64-pc-linux-gnu-gcc-ar-15cliglobal executable
x86_64-pc-linux-gnu-gcc-nm-15cliglobal executable
x86_64-pc-linux-gnu-gcc-ranlib-15cliglobal executable
x86_64-pc-linux-gnu-gfortran-15cliglobal executable
x86_64-pc-linux-gnu-gm2-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 version15.3.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@15
Version15.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcc@15
Homepagehttps://gcc.gnu.org/
Repositoryhttps://gcc.gnu.org/git/gcc.git
Upstream docshttps://gcc.gnu.org/faq.html
LicenseGPL-3.0-or-later WITH GCC-exception-3.1
Source archivehttps://ftpmirror.gnu.org/gnu/gcc/gcc-15.3.0/gcc-15.3.0.tar.xz
Last updated2026-06-27T22:14:17Z
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@15
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.

MacPorts94%

gcc15

sudo port install gcc15
  • package manager index match
  • Matched by: Gcc15
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gcc15/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
dnf92%

gcc15 15.2.1-7.fc45

Various compatibility compilers (C, C++, Fortran, ...)

http://gcc.gnu.org

sudo dnf install gcc15
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gcc15
  • 15 dependencies
  • 2 provides
  • package manager index match
  • Matched by: Gcc15
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcc15 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

gcc15-c++ 15.2.1-7.fc45

C++ support for GCC 15 compatibility compiler

http://gcc.gnu.org

sudo dnf install gcc15-c++
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gcc15
  • 11 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcc15-c++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

gcc15-gfortran 15.2.1-7.fc45

Fortran support for GCC 15 compatibility compiler

http://gcc.gnu.org

sudo dnf install gcc15-gfortran
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gcc15
  • 14 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcc15-gfortran from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

gcc15 15.2.1+r934+gbcd3e3ff5aa7-1

The GNU Compiler Collection - C and C++ frontends (15.x.x)

https://gcc.gnu.org

sudo pacman -S gcc15
  • License: GPL-3.0-with-GCC-exception AND GFDL-1.3-or-later
  • Architecture: x86_64
  • 5 dependencies
  • package manager index match
  • Matched by: Gcc15
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gcc15 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

cpp15 15.2.1+git11263-1.1

The GCC Preprocessor

https://gcc.gnu.org/

sudo zypper install cpp15
  • License: GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: gcc15
  • 9 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cpp15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15 15.2.1+git11263-1.1

The GNU C Compiler and Support Files

https://gcc.gnu.org/

sudo zypper install gcc15
  • License: GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: gcc15
  • 24 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-32bit 15.2.1+git11263-1.1

The GNU C Compiler 32bit support

https://gcc.gnu.org/

sudo zypper install gcc15-32bit
  • License: GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: gcc15
  • 14 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-PIE 15.2.1+git11263-1.1

A default configuration to build all binaries in PIE mode

https://gcc.gnu.org/

sudo zypper install gcc15-PIE
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-PIE from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-ada 15.2.1+git11263-1.1

GNU Ada Compiler Based on GCC (GNAT)

https://gcc.gnu.org/

sudo zypper install gcc15-ada
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 11 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-ada from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-ada-32bit 15.2.1+git11263-1.1

GNU Ada Compiler Based on GCC (GNAT)

https://gcc.gnu.org/

sudo zypper install gcc15-ada-32bit
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 3 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-ada-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-c++ 15.2.1+git11263-1.1

The GNU C++ Compiler

https://gcc.gnu.org/

sudo zypper install gcc15-c++
  • License: GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: gcc15
  • 11 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-c++ from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-c++-32bit 15.2.1+git11263-1.1

The GNU C++ Compiler

https://gcc.gnu.org/

sudo zypper install gcc15-c++-32bit
  • License: GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: gcc15
  • 3 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-c++-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-cobol 15.2.1+git11263-1.1

GNU GCC COBOL Compiler

https://gcc.gnu.org/

sudo zypper install gcc15-cobol
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 15 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-cobol from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-d 15.2.1+git11263-1.1

GNU D Compiler

https://gcc.gnu.org/

sudo zypper install gcc15-d
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 13 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-d from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

gcc15-d-32bit 15.2.1+git11263-1.1

GNU D Compiler

https://gcc.gnu.org/

sudo zypper install gcc15-d-32bit
  • License: GPL-3.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: gcc15
  • 8 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Gcc15
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcc15-d-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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