Automic VaultAutomic Vault

brew

gcc@9 を Homebrew, apt, MacPorts, apk, dnf, Nix, pacman, zypper, scoop でインストール

gcc@9 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gcc@9

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gcc9

MacPorts ports tree · lang/gcc9/Portfile · ソース: api.github.com

Linux

Ubuntu apt確認済み · 92%
sudo apt install gcc-9

Ubuntu 24.04 LTS package indexes · gcc-9 · ソース: 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++-9
  • cpp-9
  • g++-9
  • gcc-9
  • gcc-ar-9
  • gcc-nm-9
  • gcc-ranlib-9
  • gcov-9
  • gcov-dump-9
  • gcov-tool-9
  • gfortran-9
  • x86_64-apple-darwin20-c++-9
  • x86_64-apple-darwin20-g++-9
  • x86_64-apple-darwin20-gcc-9
  • x86_64-apple-darwin20-gcc-9.5.0
  • x86_64-apple-darwin20-gcc-ar-9
  • x86_64-apple-darwin20-gcc-nm-9
  • x86_64-apple-darwin20-gcc-ranlib-9
  • x86_64-apple-darwin20-gfortran-9

履歴

プロジェクトの歴史と使われ方

GCC 9 is a versioned Homebrew package for the GCC 9 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++.

プロジェクトの歴史

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.

採用の歴史

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

使われ方

As packaged here, GCC 9 exposes version-suffixed compiler tools such as gcc-9, g++-9, cpp-9, gcov-9, and gfortran-9, 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 9 change notes include package-relevant diagnostic and tooling improvements such as JSON diagnostic output, shell completion support, live-patching options, and source-location display improvements.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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
  • 2019: GCC 9.1 released on May 3
  • 2022: GCC 9.5 released on May 27

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.

セキュリティ状態

保護ツール対応はまだ見つかっていません

gcc@9 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • Homebrew はこの formula に post-install フックを宣言しています。
  • Homebrew bottle メタデータは 5 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
c++-9cliグローバル実行可能ファイル
cpp-9cliグローバル実行可能ファイル
g++-9cliグローバル実行可能ファイル
gcc-9cliグローバル実行可能ファイル
gcc-ar-9cliグローバル実行可能ファイル
gcc-nm-9cliグローバル実行可能ファイル
gcc-ranlib-9cliグローバル実行可能ファイル
gcov-9cliグローバル実行可能ファイル
gcov-dump-9cliグローバル実行可能ファイル
gcov-tool-9cliグローバル実行可能ファイル
gfortran-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-c++-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-g++-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-gcc-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-gcc-9.5.0cliグローバル実行可能ファイル
x86_64-apple-darwin20-gcc-ar-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-gcc-nm-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-gcc-ranlib-9cliグローバル実行可能ファイル
x86_64-apple-darwin20-gfortran-9cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版9.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@9
バージョン9.5.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gcc@9
ホームページ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-9.5.0/gcc-9.5.0.tar.xz
最終更新2026-07-03T16:36:49-04:00
Pulseupdated
依存関係gmp, isl, libmpc, mpfr
Bottle利用可能 (対象 arm64_linux, big_sur, catalina, monterey, x86_64_linux)
Homebrew post-install定義済み
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcc@9
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-9 9.5.0-6ubuntu2

GNU C preprocessor

http://gcc.gnu.org/

sudo apt install cpp-9
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: gcc-9
  • 7 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cpp-9-doc 9.5.0-6ubuntu2

Documentation for the GNU C preprocessor (cpp)

http://gcc.gnu.org/

sudo apt install cpp-9-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-9
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpp-9-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-9 9.5.0-6ubuntu2

GNU C++ compiler

http://gcc.gnu.org/

sudo apt install g++-9
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 9 依存関係
  • 2 提供
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

g++-9-multilib 9.5.0-6ubuntu2

GNU C++ compiler (multilib support)

http://gcc.gnu.org/

sudo apt install g++-9-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 5 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++-9-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9 9.5.0-6ubuntu2

GNU C compiler

http://gcc.gnu.org/

sudo apt install gcc-9
  • Section: universe/devel
  • Architecture: amd64
  • 13 依存関係
  • 1 提供
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-base 9.5.0-6ubuntu2

GCC, the GNU Compiler Collection (base package)

http://gcc.gnu.org/

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

gcc-9-doc 9.5.0-6ubuntu2

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

http://gcc.gnu.org/

sudo apt install gcc-9-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gcc-9
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-hppa64-linux-gnu 9.5.0-6ubuntu2

GNU C compiler (cross compiler for hppa64)

http://gcc.gnu.org/

sudo apt install gcc-9-hppa64-linux-gnu
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 10 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-hppa64-linux-gnu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-locales 9.5.0-6ubuntu2

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

http://gcc.gnu.org/

sudo apt install gcc-9-locales
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-9
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-locales from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-multilib 9.5.0-6ubuntu2

GNU C compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gcc-9-multilib
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 6 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-multilib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-offload-nvptx 9.5.0-6ubuntu2

GCC offloading compiler to NVPTX

http://gcc.gnu.org/

sudo apt install gcc-9-offload-nvptx
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 10 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-offload-nvptx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-plugin-dev 9.5.0-6ubuntu2

Files for GNU GCC plugin development.

http://gcc.gnu.org/

sudo apt install gcc-9-plugin-dev
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 5 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-plugin-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-source 9.5.0-6ubuntu2

Source of the GNU Compiler Collection

http://gcc.gnu.org/

sudo apt install gcc-9-source
  • Section: universe/devel
  • Architecture: all
  • Source Package: gcc-9
  • 9 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gcc-9-test-results 9.5.0-6ubuntu2

Test results for the GCC test suite

http://gcc.gnu.org/

sudo apt install gcc-9-test-results
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcc-9-test-results from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gccbrig-9 9.5.0-6ubuntu2

GNU BRIG (HSA IL) frontend

http://gcc.gnu.org/

sudo apt install gccbrig-9
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 11 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gccbrig-9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gccgo-9 9.5.0-6ubuntu2

GNU Go compiler

http://gcc.gnu.org/

sudo apt install gccgo-9
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gcc-9
  • 11 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gcc 9
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gccgo-9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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