macOS
brew install gcc@10local Homebrew formula metadata
sudo port install gcc10MacPorts ports tree · lang/gcc10/Portfile · source: api.github.com
brew
GNU compiler collection. Version 10.5.0 via Homebrew; verified 2026-07-03.
install
brew install gcc@10local Homebrew formula metadata
sudo port install gcc10MacPorts ports tree · lang/gcc10/Portfile · source: api.github.com
sudo apt install cpp-10Ubuntu 24.04 LTS package indexes · cpp-10 · source: archive.ubuntu.com
sudo apk add g++Alpine Linux edge package indexes · g++ · source: dl-cdn.alpinelinux.org
sudo apt install gccDebian stable package indexes · gcc · source: deb.debian.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
sudo zypper install cppopenSUSE Tumbleweed package metadata · cpp · source: download.opensuse.org
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · source: api.github.com
overview
GNU compiler collection
history
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.
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.
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.
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.
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.
security posture
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.
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 |
|---|---|---|---|
c++-10 | cli | global executable | |
cpp-10 | cli | global executable | |
gcc-10 | cli | global executable | |
gcc-ar-10 | cli | global executable | |
gcc-nm-10 | cli | global executable | |
gcc-ranlib-10 | cli | global executable | |
gcov-10 | cli | global executable | |
gcov-dump-10 | cli | global executable | |
gcov-tool-10 | cli | global executable | |
gfortran-10 | cli | global executable | |
lto-dump-10 | 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@10 |
|---|---|
| Version | 10.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gcc@10 |
| 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-10.5.0/gcc-10.5.0.tar.xz |
| Last updated | 2026-07-03T16:36:59-04:00 |
| Pulse | updated |
| Dependencies | gmp, isl, libmpc, mpfr |
| Bottle | available (on arm64_linux, big_sur, monterey, ventura, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc@10 |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| 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-10 10.5.0-4ubuntu2
GNU C preprocessor
sudo apt install cpp-10cpp-10-doc 10.5.0-4ubuntu2
Documentation for the GNU C preprocessor (cpp)
sudo apt install cpp-10-docg++-10 10.5.0-4ubuntu2
GNU C++ compiler
sudo apt install g++-10g++-10-multilib 10.5.0-4ubuntu2
GNU C++ compiler (multilib support)
sudo apt install g++-10-multilibgcc-10 10.5.0-4ubuntu2
GNU C compiler
sudo apt install gcc-10gcc-10-base 10.5.0-4ubuntu2
GCC, the GNU Compiler Collection (base package)
sudo apt install gcc-10-basegcc-10-doc 10.5.0-4ubuntu2
Documentation for the GNU compilers (gcc, gobjc, g++)
sudo apt install gcc-10-docgcc-10-hppa64-linux-gnu 10.5.0-4ubuntu2
GNU C compiler (cross compiler for hppa64)
sudo apt install gcc-10-hppa64-linux-gnugcc-10-locales 10.5.0-4ubuntu2
GCC, the GNU compiler collection (native language support files)
sudo apt install gcc-10-localesgcc-10-multilib 10.5.0-4ubuntu2
GNU C compiler (multilib support)
sudo apt install gcc-10-multilibgcc-10-offload-nvptx 10.5.0-4ubuntu2
GCC offloading compiler to NVPTX
sudo apt install gcc-10-offload-nvptxgcc-10-plugin-dev 10.5.0-4ubuntu2
Files for GNU GCC plugin development.
sudo apt install gcc-10-plugin-devgcc-10-source 10.5.0-4ubuntu2
Source of the GNU Compiler Collection
sudo apt install gcc-10-sourcegcc-10-test-results 10.5.0-4ubuntu2
Test results for the GCC test suite
sudo apt install gcc-10-test-resultsgccbrig-10 10.5.0-4ubuntu2
GNU BRIG (HSA IL) frontend
sudo apt install gccbrig-10gccgo-10 10.5.0-4ubuntu2
GNU Go compiler
sudo apt install gccgo-10source 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.