Automic VaultAutomic Vault

brew

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

GNU compiler collection. Version 10.5.0 via Homebrew; verified 2026-07-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcc@10

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gcc10

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

Linux

Ubuntu aptverified · 92%
sudo apt install cpp-10

Ubuntu 24.04 LTS package indexes · cpp-10 · source: archive.ubuntu.com

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

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

openSUSE zypperverified · 92%
sudo zypper install cpp

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

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

  • c++-10
  • cpp-10
  • gcc-10
  • gcc-ar-10
  • gcc-nm-10
  • gcc-ranlib-10
  • gcov-10
  • gcov-dump-10
  • gcov-tool-10
  • gfortran-10
  • lto-dump-10

history

Project history and usage

GCC 10 is the Homebrew versioned packaging line for the GCC 10 release series. It belongs to the same GNU Compiler Collection history as GCC generally, but packages the older major series for builds that need that compiler generation rather than the current default.

Project history

The official GCC timeline lists GCC 10.1 on May 7, 2020, followed by 10.2 in July 2020, 10.3 in April 2021, 10.4 in June 2022, and 10.5 in July 2023. The GCC 10 change notes describe a large release-series update with new options, link-time optimization changes, an experimental static analysis pass through -fanalyzer, and C++/libstdc++ caveats.

Adoption history

Versioned GCC packages exist because package managers often need to let users pin an older compiler major while the default formula advances. GCC 10 remained relevant after newer GCC releases because C and C++ projects, Fortran builds, scientific software, and ABI-sensitive dependency chains may need a known compiler series for reproducibility.

How it is used

Homebrew exposes GCC 10 with version-suffixed executables such as gcc-10, g++-10, cpp-10, gfortran-10, gcov-10, and lto-dump-10. The upstream Git documentation maps this to release branches such as releases/gcc-10 and release tags of the form releases/gcc-X.Y.0.

Why package nerds care

gcc@10 is significant because it is a compatibility compiler package. It lets package recipes and users keep using a post-GCC-9 but pre-GCC-11 toolchain, including the GCC 10 C++ and libstdc++ behavior, while the main gcc package tracks later majors.

Timeline

  • 1987: GCC 1.0 released.
  • 2020: GCC 10.1 released.
  • 2020: GCC 10.2 released.
  • 2021: GCC 10.3 released.
  • 2022: GCC 10.4 released.
  • 2023: GCC 10.5 released.

Related projects

  • GCC 10 is related to the main GCC project, libstdc++, binutils, gcov, LTO tooling, and adjacent versioned package-manager formulae such as gcc@11 and unversioned gcc.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for gcc@10. 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 5 platform targets.
  • Installs with 4 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
c++-10cliglobal executable
cpp-10cliglobal executable
gcc-10cliglobal executable
gcc-ar-10cliglobal executable
gcc-nm-10cliglobal executable
gcc-ranlib-10cliglobal executable
gcov-10cliglobal executable
gcov-dump-10cliglobal executable
gcov-tool-10cliglobal executable
gfortran-10cliglobal executable
lto-dump-10cliglobal 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 version10.5.0
manager updated2026-07-03
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@10
Version10.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcc@10
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-10.5.0/gcc-10.5.0.tar.xz
Last updated2026-07-03T16:36:59-04:00
Pulseupdated
Dependenciesgmp, isl, libmpc, mpfr
Bottleavailable (on arm64_linux, big_sur, monterey, ventura, x86_64_linux)
Homebrew post-installdefined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcc@10
Version Scheme0
Revision0
Requirements
  • arch
  • maximum_macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
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.

Ubuntu apt95%

cpp-10 10.5.0-4ubuntu2

GNU C preprocessor

http://gcc.gnu.org/

sudo apt install cpp-10
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: gcc-10
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cpp-10-doc 10.5.0-4ubuntu2

Documentation for the GNU C preprocessor (cpp)

http://gcc.gnu.org/

sudo apt install cpp-10-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-10
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-10-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-10 10.5.0-4ubuntu2

GNU C++ compiler

http://gcc.gnu.org/

sudo apt install g++-10
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 10 dependencies
  • 2 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-10-multilib 10.5.0-4ubuntu2

GNU C++ compiler (multilib support)

http://gcc.gnu.org/

sudo apt install g++-10-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-10-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10 10.5.0-4ubuntu2

GNU C compiler

http://gcc.gnu.org/

sudo apt install gcc-10
  • Section: universe/devel
  • Architecture: amd64
  • 14 dependencies
  • 1 provides
  • 4 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-base 10.5.0-4ubuntu2

GCC, the GNU Compiler Collection (base package)

http://gcc.gnu.org/

sudo apt install gcc-10-base
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gcc-10
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-base from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-doc 10.5.0-4ubuntu2

Documentation for the GNU compilers (gcc, gobjc, g++)

http://gcc.gnu.org/

sudo apt install gcc-10-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-10
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-hppa64-linux-gnu 10.5.0-4ubuntu2

GNU C compiler (cross compiler for hppa64)

http://gcc.gnu.org/

sudo apt install gcc-10-hppa64-linux-gnu
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-hppa64-linux-gnu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-locales 10.5.0-4ubuntu2

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

http://gcc.gnu.org/

sudo apt install gcc-10-locales
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-10
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-locales from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-multilib 10.5.0-4ubuntu2

GNU C compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gcc-10-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 6 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-offload-nvptx 10.5.0-4ubuntu2

GCC offloading compiler to NVPTX

http://gcc.gnu.org/

sudo apt install gcc-10-offload-nvptx
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 11 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-offload-nvptx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-plugin-dev 10.5.0-4ubuntu2

Files for GNU GCC plugin development.

http://gcc.gnu.org/

sudo apt install gcc-10-plugin-dev
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 5 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-plugin-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-source 10.5.0-4ubuntu2

Source of the GNU Compiler Collection

http://gcc.gnu.org/

sudo apt install gcc-10-source
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-10
  • 10 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-10-test-results 10.5.0-4ubuntu2

Test results for the GCC test suite

http://gcc.gnu.org/

sudo apt install gcc-10-test-results
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-10-test-results from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gccbrig-10 10.5.0-4ubuntu2

GNU BRIG (HSA IL) frontend

http://gcc.gnu.org/

sudo apt install gccbrig-10
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 12 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gccbrig-10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gccgo-10 10.5.0-4ubuntu2

GNU Go compiler

http://gcc.gnu.org/

sudo apt install gccgo-10
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-10
  • 12 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Gcc 10
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gccgo-10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

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