Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, apk, dnf, Nix, pacman, zypper, scoop 安装 gcc@10

查看 gcc@10 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gcc@10

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gcc10

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

Linux

Ubuntu apt已验证 · 92%
sudo apt install gcc-10

Ubuntu 24.04 LTS package indexes · gcc-10 · 来源: archive.ubuntu.com

Alpine Linux apk已验证 · 92%
sudo apk add gcc

Alpine Linux edge package indexes · gcc · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install gcc

Debian stable package indexes · gcc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gcc

Fedora Rawhide package metadata · gcc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gcc

nixpkgs package indexes · gcc · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gcc

Arch Linux sync databases · gcc · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gcc

openSUSE Tumbleweed package metadata · gcc · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/gcc

Scoop official bucket manifest trees · bucket/gcc.json · 来源: api.github.com

概览

软件包摘要

GNU compiler collection

命令和别名

  • 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

历史

项目历史与用法

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.

时间线

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

安全态势

尚未找到受保护工具覆盖

没有找到 gcc@10 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
c++-10cli全局可执行文件
cpp-10cli全局可执行文件
gcc-10cli全局可执行文件
gcc-ar-10cli全局可执行文件
gcc-nm-10cli全局可执行文件
gcc-ranlib-10cli全局可执行文件
gcov-10cli全局可执行文件
gcov-dump-10cli全局可执行文件
gcov-tool-10cli全局可执行文件
gfortran-10cli全局可执行文件
lto-dump-10cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本10.5.0
管理器更新时间2026-07-03
本地数据OK
上游not checked
检测到的最新版本未检测到

https://gcc.gnu.org/

  • 信息Release/tag comparison is only available for GitHub repositories.https://gcc.gnu.org/none 置信度

安装元数据

软件包元数据

软件包键brew:gcc@10
版本10.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gcc@10
主页https://gcc.gnu.org/
仓库https://gcc.gnu.org/git/gcc.git
上游文档https://gcc.gnu.org/install
许可证GPL-3.0-or-later WITH GCC-exception-3.1
源码归档https://ftpmirror.gnu.org/gnu/gcc/gcc-10.5.0/gcc-10.5.0.tar.xz
最后更新2026-07-03T16:36:59-04:00
Pulseupdated
依赖gmp, isl, libmpc, mpfr
Bottle可用 (于 arm64_linux, big_sur, monterey, ventura, x86_64_linux)
Homebrew post-install已定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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