# gcc@12 をインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install gcc@12
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gcc12
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gcc-12
```

  証拠: Debian stable package indexes: gcc-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- apk (92%):

```sh
sudo apk add gcc
```

  証拠: Alpine Linux edge package indexes: gcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install gcc
```

  証拠: Fedora Rawhide package metadata: gcc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

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

  証拠: 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
```

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

- zypper (92%):

```sh
sudo zypper install gcc
```

  証拠: openSUSE Tumbleweed package metadata: gcc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:gcc@12
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gcc@12>
- **バージョン:** 12.5.0
- **ソース概要:** GNU compiler collection
- **ホームページ:** <https://gcc.gnu.org/>
- **上流ドキュメント:** <https://gcc.gnu.org/>
- **ライセンス:** GPL-3.0-or-later WITH GCC-exception-3.1
- **ソースアーカイブ:** <https://ftpmirror.gnu.org/gnu/gcc/gcc-12.5.0/gcc-12.5.0.tar.xz>
- **更新:** 2026-02-24T13:27:22Z
- **生成ソース:** 2026-05-26T17:25:59+00:00

## 依存関係

- gmp
- isl
- libmpc
- mpfr
- zstd

## インストール挙動

- post-install フック: 定義済み
- Bottle: 利用可能 対象 arm64_linux, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 12.5.0
- マネージャ更新日: 2026-02-24
- ローカルデータ: ok
- 上流リポジトリ: https://gcc.gnu.org/
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

compiler and toolchain runtime.

- **Geiger リスク:** yellow / high
- compiler and toolchain runtime

## 関連リンク

- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [gmp](https://www.automicvault.com/pkg/brew/gmp/) - Runtime dependency declared by Homebrew.
- [mpfr](https://www.automicvault.com/pkg/brew/mpfr/) - Runtime dependency declared by Homebrew.
- [libmpc](https://www.automicvault.com/pkg/brew/libmpc/) - Runtime dependency declared by Homebrew.
- [isl](https://www.automicvault.com/pkg/brew/isl/) - Runtime dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Package name indicates the same formula family.
- [gcc@14](https://www.automicvault.com/pkg/brew/gcc-14/) - 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@11](https://www.automicvault.com/pkg/brew/gcc-11/) - Package name indicates the same formula family.
- [gcc@9](https://www.automicvault.com/pkg/brew/gcc-9/) - Package name indicates the same formula family.
- [gcc@10](https://www.automicvault.com/pkg/brew/gcc-10/) - Package name indicates the same formula family.
- [libgccjit](https://www.automicvault.com/pkg/brew/libgccjit/) - Shares the same upstream homepage.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
