# g2 を Homebrew, MacPorts, apt でインストール

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

## インストール

```sh
sudo av install brew:g2
```

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

### macOS

- Homebrew (100%):

```sh
brew install g2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install g2
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libg2-dev
```

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

## パッケージ情報

- **パッケージキー:** brew:g2
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/g2>
- **バージョン:** 1.1
- **ソース概要:** Friendly git client
- **ホームページ:** <https://orefalo.github.io/g2/>
- **リポジトリ:** <https://github.com/orefalo/g2>
- **上流ドキュメント:** <https://orefalo.github.io/g2/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/orefalo/g2/archive/refs/tags/v1.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## インストール挙動

- post-install フック: 未定義
- 注意点: To complete the installation: . $HOMEBREW_CELLAR/g2/1.1/g2-install.sh NOTE: This will install a new ~/.gitconfig, backing up any existing file first. For more information view: $HOMEBREW_CELLAR/g2/1.1/README.md
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/orefalo/g2
- 検出された最新: v1.1 (最新)
- 情報: No package-manager update timestamp was available.

## セキュリティノート

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


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** g2
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - libg2-dev - 0.72-13: normalized package name match | Debian stable package indexes: libg2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | g2 2D graphics library (development files) | https://github.com/danielrmeyer/g2/
- Debian apt - libg20 - 0.72-13: normalized package name match | Debian stable package indexes: libg20 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | g2 2D graphics library | https://github.com/danielrmeyer/g2/
- Debian apt - libg20-perl - 0.72-13: normalized package name match | Debian stable package indexes: libg20-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | g2 2D graphics library (Perl module) | https://github.com/danielrmeyer/g2/
- Ubuntu apt - libg2-dev - 0.72-12build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libg2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | g2 2D graphics library (development files) | https://github.com/danielrmeyer/g2/
- Ubuntu apt - libg20 - 0.72-12build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libg20 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | g2 2D graphics library | https://github.com/danielrmeyer/g2/
- Ubuntu apt - libg20-perl - 0.72-12build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libg20-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | g2 2D graphics library (Perl module) | https://github.com/danielrmeyer/g2/
- MacPorts - g2: normalized package name match | MacPorts ports tree: graphics/g2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [git-ftp](https://pkg.so/ja/brew/git-ftp/) - Local metadata places this package in an adjacent workflow. Shared terms: client, git.
- [gitu](https://pkg.so/ja/brew/gitu/) - Local metadata places this package in an adjacent workflow. Shared terms: client, git.
- [gitui](https://pkg.so/ja/brew/gitui/) - Local metadata places this package in an adjacent workflow. Shared terms: client, git.

## ソース

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
