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

GNU compiler collection. Version 14.4.0 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:gcc@14
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gcc@14
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gcc14
```

  Evidence: MacPorts ports tree: lang/gcc14/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install cpp-14
```

  Evidence: Debian stable package indexes: cpp-14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install cpp14
```

  Evidence: openSUSE Tumbleweed package metadata: cpp14 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- apk (92%):

```sh
sudo apk add g++
```

  Evidence: Alpine Linux edge package indexes: g++ from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install cpp
```

  Evidence: Fedora Rawhide package metadata: cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gcc
```

  Evidence: nixpkgs package indexes: gcc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S gcc
```

  Evidence: Arch Linux sync databases: gcc from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/gcc
```

  Evidence: Scoop official bucket manifest trees: bucket/gcc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:gcc@14
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gcc@14>
- **Version:** 14.4.0
- **Source summary:** GNU compiler collection
- **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-14.4.0/gcc-14.4.0.tar.xz>
- **Last updated:** 2026-06-28T20:57:16Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- aarch64-apple-darwin24-c++-14 (cli)
- aarch64-apple-darwin24-g++-14 (cli)
- aarch64-apple-darwin24-gcc-14 (cli)
- aarch64-apple-darwin24-gcc-ar-14 (cli)
- aarch64-apple-darwin24-gcc-nm-14 (cli)
- aarch64-apple-darwin24-gcc-ranlib-14 (cli)
- aarch64-apple-darwin24-gfortran-14 (cli)
- c++-14 (cli)
- cpp-14 (cli)
- g++-14 (cli)
- gcc-14 (cli)
- gcc-ar-14 (cli)
- gcc-nm-14 (cli)
- gcc-ranlib-14 (cli)
- gcov-14 (cli)
- gcov-dump-14 (cli)
- gcov-tool-14 (cli)
- gfortran-14 (cli)
- lto-dump-14 (cli)
- aarch64-apple-darwin24-c++-14 (alias)
- aarch64-apple-darwin24-g++-14 (alias)
- aarch64-apple-darwin24-gcc-14 (alias)
- aarch64-apple-darwin24-gcc-ar-14 (alias)
- aarch64-apple-darwin24-gcc-nm-14 (alias)
- aarch64-apple-darwin24-gcc-ranlib-14 (alias)
- aarch64-apple-darwin24-gfortran-14 (alias)
- c++-14 (alias)
- cpp-14 (alias)
- g++-14 (alias)
- gcc-14 (alias)
- gcc-ar-14 (alias)
- gcc-nm-14 (alias)
- gcc-ranlib-14 (alias)
- gcov-14 (alias)
- gcov-dump-14 (alias)
- gcov-tool-14 (alias)
- gfortran-14 (alias)
- lto-dump-14 (alias)

## Dependencies

- gmp
- isl
- libmpc
- mpfr
- zstd

## Build dependencies

- make

## Install behavior

- Post-install hook: defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 14.4.0
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://gcc.gnu.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GCC 14 is a versioned Homebrew package for the GCC 14 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 14 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 14 exposes version-suffixed compiler tools such as gcc-14, g++-14, cpp-14, gcov-14, and gfortran-14, 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 14 change notes emphasize hardening and runtime behavior changes, including -fhardened, hardened control-flow redundancy, host PIE/bind-now configure options, and improved OpenMP/OpenACC offload support.

### 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
- 2024: GCC 14.1 released on May 7
- 2026: GCC 14.4 released on June 26

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

### Sources

- <https://gcc.gnu.org/>
- <https://gcc.gnu.org/gcc-14/changes.html>
- <https://gcc.gnu.org/gccmission.html>
- <https://gcc.gnu.org/git.html>
- <https://gcc.gnu.org/releases.html>
- <https://gcc.gnu.org/wiki/History>


## Security Notes

No matching local secret-handling manifest was found for gcc@14. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gcc@14
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - cpp-14 - 14.2.0-19: normalized package name match | Debian stable package indexes: cpp-14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C preprocessor | http://gcc.gnu.org/
- Debian apt - cpp-14-for-build - 14.2.0-19: normalized package name match | Debian stable package indexes: cpp-14-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C preprocessor for the build architecture | http://gcc.gnu.org/
- Debian apt - cpp-14-for-host - 14.2.0-19: normalized package name match | Debian stable package indexes: cpp-14-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C preprocessor for the host architecture | http://gcc.gnu.org/
- Debian apt - cpp-14-x86-64-linux-gnu - 14.2.0-19: normalized package name match | Debian stable package indexes: cpp-14-x86-64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C preprocessor for x86_64-linux-gnu | http://gcc.gnu.org/
- Debian apt - g++-14 - 14.2.0-19: normalized package name match | Debian stable package indexes: g++-14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C++ compiler | http://gcc.gnu.org/
- Debian apt - g++-14-for-build - 14.2.0-19: normalized package name match | Debian stable package indexes: g++-14-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C++ compiler for the build architecture | http://gcc.gnu.org/
- Debian apt - g++-14-for-host - 14.2.0-19: normalized package name match | Debian stable package indexes: g++-14-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C++ compiler for the host architecture | http://gcc.gnu.org/
- Debian apt - g++-14-multilib - 14.2.0-19: normalized package name match | Debian stable package indexes: g++-14-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C++ compiler (multilib support) | http://gcc.gnu.org/
- Debian apt - g++-14-x86-64-linux-gnu - 14.2.0-19: normalized package name match | Debian stable package indexes: g++-14-x86-64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C++ compiler for x86_64-linux-gnu architecture | http://gcc.gnu.org/
- Debian apt - gcc-14 - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler | http://gcc.gnu.org/
- Debian apt - gcc-14-base - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GCC, the GNU Compiler Collection (base package) | http://gcc.gnu.org/
- Debian apt - gcc-14-for-build - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-for-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler for the build architecture | http://gcc.gnu.org/
- Debian apt - gcc-14-for-host - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-for-host from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler for the host architecture | http://gcc.gnu.org/
- Debian apt - gcc-14-hppa64-linux-gnu - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-hppa64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler (cross compiler for hppa64) | http://gcc.gnu.org/
- Debian apt - gcc-14-locales - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-locales from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GCC, the GNU compiler collection (native language support files) | http://gcc.gnu.org/
- Debian apt - gcc-14-multilib - 14.2.0-19: normalized package name match | Debian stable package indexes: gcc-14-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler (multilib support) | http://gcc.gnu.org/


## Related links

- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched curated package taxonomy and local package facts.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [make](https://www.automicvault.com/pkg/brew/make/) - Build dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Package name indicates the same formula family.
- [gcc@10](https://www.automicvault.com/pkg/brew/gcc-10/) - Package name indicates the same formula family.
- [gcc@11](https://www.automicvault.com/pkg/brew/gcc-11/) - Package name indicates the same formula family.
- [gcc@12](https://www.automicvault.com/pkg/brew/gcc-12/) - Package name indicates the same formula family.
- [gcc@13](https://www.automicvault.com/pkg/brew/gcc-13/) - Package name indicates the same formula family.
- [gcc@15](https://www.automicvault.com/pkg/brew/gcc-15/) - Package name indicates the same formula family.
- [gcc@9](https://www.automicvault.com/pkg/brew/gcc-9/) - Package name indicates the same formula family.

## Combined YAML source

View the package source record on GitHub. [combined/gcc@14.yml](https://github.com/automic-vault/db/blob/main/combined/gcc@14.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
