# gobject-introspection mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gobject-introspection in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:gobject-introspection
- **Paketmanager:** Homebrew
- **Version:** 1.86.0
- **Quellzusammenfassung:** Generate introspection data for GObject libraries
- **Homepage:** <https://gi.readthedocs.io/en/latest/>
- **Zuletzt aktualisiert:** 2026-07-15T13:46:57Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- g-ir-annotation-tool (Alias)
- g-ir-compiler (Alias)
- g-ir-doc-tool (Alias)
- g-ir-generate (Alias)
- g-ir-inspect (Alias)
- g-ir-scanner (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.86.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

Für gobject-introspection wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Andere Paketmanager-Einträge

- 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)


## Quellen

- 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
