# gobject-introspection を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:gobject-introspection
```

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

### macOS

- Homebrew (100%):

```sh
brew install gobject-introspection
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gobject-introspection
```

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

### Linux

- apk (92%):

```sh
sudo apk add gobject-introspection
```

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

- Debian apt (92%):

```sh
sudo apt install gobject-introspection
```

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

- dnf (92%):

```sh
sudo dnf install gobject-introspection
```

  証拠: Fedora Rawhide package metadata: gobject-introspection from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gobject-introspection
```

  証拠: nixpkgs package indexes: gobject-introspection from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S gobject-introspection
```

  証拠: Arch Linux sync databases: gobject-introspection from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gobject-introspection
```

  証拠: openSUSE Tumbleweed package metadata: gobject-introspection from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:gobject-introspection
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.86.0
- **ソース概要:** Generate introspection data for GObject libraries
- **ホームページ:** <https://gi.readthedocs.io/en/latest/>
- **最終更新:** 2026-07-15T13:46:57Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- g-ir-annotation-tool (エイリアス)
- g-ir-compiler (エイリアス)
- g-ir-doc-tool (エイリアス)
- g-ir-generate (エイリアス)
- g-ir-inspect (エイリアス)
- g-ir-scanner (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.86.0
## プロジェクトの歴史と使われ方

GObject Introspection is GNOME infrastructure that turns C libraries using GObject conventions into machine-readable metadata. It provides GIR XML, compiled typelib files, scanner/compiler tools, and libgirepository so higher-level language bindings can call C APIs without each binding maintaining its own handwritten metadata.

For package maintainers it is not just another developer tool. It is build-time and runtime plumbing that many GNOME-adjacent packages need so Python, JavaScript, Vala, Perl, Ruby, Lua, Haskell, and other bindings can consume the same library metadata.

### プロジェクトの歴史

The project grew out of GNOME's long-standing need to share binding metadata instead of duplicating hand-maintained fixes across language bindings. The official goals page frames the work as a bridge between low-level C libraries and higher-level runtimes, and as a way to keep binding metadata inside the libraries through annotations.

GNOME's source archive records the 0.5.0 tarball on September 1, 2008. By the 1.30.0 release on September 20, 2011, the project had entered the 1.x line used alongside the GNOME 3 era. The documentation describes the core toolchain as g-ir-scanner, g-ir-compiler, g-ir-generate, g-ir-annotation-tool, GIR XML, typelib files, and libgirepository.

### 採用の歴史

GObject Introspection became a shared foundation for language bindings rather than a user-facing app. The official users page lists bindings and consumers including Vala, Genie, PyGObject, GTK-Perl/Introspection, JGIR, GJS, Seed, GirFFI, Ruby-GNOME, Guile GI, lgi, node-gir, go-gir, haskell-gi, Common Lisp, Free Pascal, Prolog, Harbour, C++, and Crystal projects.

Distribution packaging reflects that infrastructure role. Homebrew packages it as gobject-introspection with dependencies on GLib, Cairo, pkgconf, and Python, while the input package facts map it across multiple Unix packaging systems under names such as gobject-introspection, gir1.2-freedesktop, and girepository-1_0.

### 使われ方

Library authors enable introspection during the build, annotate APIs, and generate GIR files and typelibs. Binding authors and runtime libraries then consume those artifacts to expose the same C APIs in languages such as Python via PyGObject or JavaScript via GJS.

Package builders care about it because it can affect cross-compilation, build ordering, and split packages: GIR development metadata and compiled typelibs often need to land in different package outputs. The official documentation includes dedicated build-system integration material for Meson and Autotools, and the changelog records build-system transitions such as the end of autotools support after the 1.60 line and the later drop of autotools in the 1.61 development series.

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

GObject Introspection is one of the packages that explains why GNOME stacks look the way they do in package managers: many applications do not depend on it directly for a command-line interface, but their language bindings, generated metadata, and typelibs depend on it being present and correctly split.

It is also a recurring example of packaging complexity caused by generated ABI metadata. The same package participates in compiler-like scanning, documentation, runtime reflection, language bindings, and cross-build work, so small changes in it can ripple through GTK, GStreamer, GJS, PyGObject, and desktop application builds.

### タイムライン

- 2008-09-01: GNOME source archive records gobject-introspection 0.5.0
- 2011-09-20: GNOME source archive records gobject-introspection 1.30.0
- 2018-02-08: GNOME GitLab project record created during GNOME's GitLab-hosted era
- 2019-03-10: 1.60.0 changelog notes the final release supporting autotools
- 2019-08-07: 1.61.1 changelog notes the autotools build system was dropped
- 2025-09-13: 1.86.0 appears in the official changelog and GNOME source archive

### Related projects

- GLib and GObject are the underlying object-system layer whose APIs are described by introspection metadata.
- PyGObject, GJS, Vala, Ruby-GNOME, lgi, haskell-gi, and other bindings are documented users of the introspection repository.
- GTK and GStreamer are common examples of GObject-based libraries whose bindings and applications rely on introspection data in GNOME-oriented distributions.

### ソース

- <https://download.gnome.org/sources/gobject-introspection/>
- <https://download.gnome.org/sources/gobject-introspection/0.5/>
- <https://download.gnome.org/sources/gobject-introspection/1.30/>
- <https://formulae.brew.sh/formula/gobject-introspection>
- <https://gi.readthedocs.io/en/latest/>
- <https://gi.readthedocs.io/en/latest/changelog.html>
- <https://gi.readthedocs.io/en/latest/goals.html>
- <https://gi.readthedocs.io/en/latest/users.html>
- <https://gitlab.gnome.org/GNOME/gobject-introspection>


## セキュリティノート

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


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

- Debian apt - gir1.2-freedesktop - 1.84.0-1: normalized package name match | Debian stable package indexes: gir1.2-freedesktop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Introspection data for some FreeDesktop components | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - gir1.2-freedesktop-dev - 1.84.0-1: normalized package name match | Debian stable package indexes: gir1.2-freedesktop-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GIR XML for some FreeDesktop components | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - gir1.2-girepository-2.0 - 1.84.0-1: normalized package name match | Debian stable package indexes: gir1.2-girepository-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Introspection data for GIRepository library | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - gir1.2-girepository-2.0-dev - 1.84.0-1: normalized package name match | Debian stable package indexes: gir1.2-girepository-2.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GIR XML for GIRepository library | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - gobject-introspection - 1.84.0-1: normalized package name match | Debian stable package indexes: gobject-introspection from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Generate interface introspection data for GObject libraries | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - gobject-introspection-bin - 1.84.0-1: normalized package name match | Debian stable package indexes: gobject-introspection-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Executables for gobject-introspection | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - libgirepository-1.0-1 - 1.84.0-1: normalized package name match | Debian stable package indexes: libgirepository-1.0-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling GObject introspection data (runtime library) | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - libgirepository-1.0-dev - 1.84.0-1: normalized package name match | Debian stable package indexes: libgirepository-1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling GObject introspection data (development files) | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - libgirepository1.0-dev - 1.84.0-1: normalized package name match | Debian stable package indexes: libgirepository1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling GObject introspection data (complete development files) | https://wiki.gnome.org/GObjectIntrospection
- Debian apt - libgirepository1.0-doc - 1.84.0-1: normalized package name match | Debian stable package indexes: libgirepository1.0-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling GObject introspection data (documentation) | https://wiki.gnome.org/GObjectIntrospection
- Nix - gobject-introspection: normalized package name match | nixpkgs package indexes: gobject-introspection from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - gir1.2-freedesktop - 1.80.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-freedesktop from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Introspection data for some FreeDesktop components | https://wiki.gnome.org/GObjectIntrospection
- Ubuntu apt - gir1.2-freedesktop-dev - 1.80.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-freedesktop-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GIR XML for some FreeDesktop components | https://wiki.gnome.org/GObjectIntrospection
- Ubuntu apt - gir1.2-girepository-2.0 - 1.80.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-girepository-2.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Introspection data for GIRepository library | https://wiki.gnome.org/GObjectIntrospection
- Ubuntu apt - gir1.2-girepository-2.0-dev - 1.80.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-girepository-2.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GIR XML for GIRepository library | https://wiki.gnome.org/GObjectIntrospection
- Ubuntu apt - gobject-introspection - 1.80.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gobject-introspection from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Generate interface introspection data for GObject libraries | https://wiki.gnome.org/GObjectIntrospection


## Combined YAML source

View the package source record on GitHub. [combined/gobject-introspection.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gobject-introspection.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
