Automic VaultAutomic Vault

brew

glib mit Homebrew, apk, dnf, Nix, zypper installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install glib

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add glib

Alpine Linux edge package indexes · glib · Quelle: dl-cdn.alpinelinux.org

Fedora dnfverifiziert · 92%
sudo dnf install glib

Fedora Rawhide package metadata · glib · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#glib

nixpkgs package indexes · pkgs/by-name/gl/glib/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install libgio-2_0-0

openSUSE Tumbleweed package metadata · libgio-2_0-0 · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Core application library for C

Befehle und Aliase

  • gapplication
  • gdbus
  • gdbus-codegen
  • gi-compile-repository
  • gi-decompile-typelib
  • gi-inspect-typelib
  • gio
  • gio-querymodules
  • glib-compile-resources
  • glib-compile-schemas
  • glib-genmarshal
  • glib-gettextize
  • glib-mkenums
  • gobject-query
  • gresource
  • gsettings
  • gtester
  • gtester-report

Verlauf

Projektgeschichte und Nutzung

GLib is the low-level C foundation used by GTK and GNOME, providing portable data structures, strings, file utilities, process helpers, main-loop primitives, dynamic modules, object typing, I/O, IPC, networking, settings, and system integration APIs.

Projektgeschichte

GLib emerged as the shared utility layer beneath GTK-era C applications, and GNOME's release archive shows stable 1.2 releases in 1999 before the 2.0 line began in 2002. The 2.x API family established the long-lived GLib, GObject, GModule, and GIO split documented by GTK and GNOME.

Over time, GLib expanded from basic C convenience routines into a broad application substrate. GObject supplied an object and type system for C, GModule abstracted dynamic loading, and GIO added higher-level APIs for streaming I/O, files, D-Bus, networking, resources, settings, and application integration.

The project moved its source and issue workflow to GNOME's GitLab, while release archives remained available from GNOME download infrastructure. Its documentation moved to gi-docgen-generated API pages under docs.gtk.org, reflecting GLib's role as an introspection-friendly base library for language bindings.

Adoptionsgeschichte

GLib's adoption followed GTK and GNOME but spread beyond graphical applications because it offered portable C building blocks without requiring a GUI. Projects use it for event loops, data containers, structured error handling, Unicode and string helpers, command-line option parsing, tests, and cross-platform runtime glue.

The library is a dependency root in Linux desktop stacks: installing GTK, GNOME services, GStreamer components, and many C libraries often brings GLib along. Its ABI stability and regular release train make it one of the packages that distribution maintainers track carefully during desktop, toolchain, and security updates.

Wie es verwendet wird

Practitioners use GLib through headers such as `glib.h` and pkg-config modules such as `glib-2.0`. Application code commonly uses `GList`, `GHashTable`, `GError`, `GMainLoop`, `GOptionContext`, `GKeyFile`, and automatic cleanup helpers to write portable C with fewer platform-specific branches.

The Homebrew package also exposes developer utilities such as `glib-compile-resources`, `glib-compile-schemas`, `gdbus`, `gio`, `gsettings`, `glib-genmarshal`, and `glib-mkenums`. These tools generate resources, schemas, marshalling code, enum metadata, and D-Bus helpers used by GTK and GNOME-style applications.

Warum Paket-Nerds sich dafür interessieren

GLib is package-manager infrastructure by gravity: it is small enough to be a library dependency but central enough that ABI, introspection data, and helper binaries affect large parts of a desktop stack. Packagers care about its Meson build, gir data, schema/resource tools, and tight relationship with GTK release cycles.

Because GLib abstracts platform details while staying in C, it also acts as a compatibility layer between Unix-like systems, Windows ports, language bindings, and higher-level GNOME libraries.

Zeitleiste

  • 1999: GLib 1.2.0 release archive published by GNOME.
  • 2002: GLib 2.0.0 release archive published by GNOME.
  • 2010s: GIO, D-Bus, settings, resources, and introspection workflows made GLib a broader application framework base.
  • 2020s: gi-docgen API references and GitLab-hosted development became the normal documentation and contribution path.

Related projects

  • GLib underpins GTK and GNOME, and is closely related to GObject, GModule, GIO, GdkPixbuf, Pango, GStreamer, D-Bus, Meson, and GObject Introspection.

Sicherheitslage

Risikostufe: grün

library-like package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • library-like package without higher-risk signals

Signale

  • metadata:library-like

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 2 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 7 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gapplicationcliglobales Executable
gdbuscliglobales Executable
gdbus-codegencliglobales Executable
gi-compile-repositorycliglobales Executable
gi-decompile-typelibcliglobales Executable
gi-inspect-typelibcliglobales Executable
giocliglobales Executable
gio-querymodulescliglobales Executable
glib-compile-resourcescliglobales Executable
glib-compile-schemascliglobales Executable
glib-genmarshalcliglobales Executable
glib-gettextizecliglobales Executable
glib-mkenumscliglobales Executable
gobject-querycliglobales Executable
gresourcecliglobales Executable
gsettingscliglobales Executable
gtestercliglobales Executable
gtester-reportcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version2.88.2
Manager aktualisiert2026-06-27
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://docs.gtk.org/glib/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:glib
Version2.88.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/glib
Homepagehttps://docs.gtk.org/glib/
Repositoryhttps://gitlab.gnome.org/GNOME/glib
Upstream-Dokumentationhttps://docs.gtk.org/glib
LizenzLGPL-2.1-or-later
Quellarchivhttps://download.gnome.org/sources/glib/2.88/glib-2.88.2.tar.xz
Zuletzt aktualisiert2026-06-27T11:06:01-04:00
Pulseupdated
Abhängigkeitengettext, pcre2
Build-Abhängigkeitenbison, gettext, meson, ninja, pkgconf, python-setuptools, python@3.14
Von macOS bereitgestellte Bibliothekenlibffi, python
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameglib
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

glib

nix profile install nixpkgs#glib
  • normalized package name match
  • Abgeglichen nach: Glib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gl/glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

glib 2.88.1-r2

Low-level core library that forms the basis for projects such as GTK and GNOME

https://developer.gnome.org/glib/

sudo apk add glib
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-bash-completion 2.88.1-r2

Bash completions for glib

https://developer.gnome.org/glib/

sudo apk add glib-bash-completion
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-dbg 2.88.1-r2

Low-level core library that forms the basis for projects such as GTK and GNOME (debug symbols)

https://developer.gnome.org/glib/

sudo apk add glib-dbg
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-dev 2.88.1-r2

Low-level core library that forms the basis for projects such as GTK and GNOME (development files)

https://developer.gnome.org/glib/

sudo apk add glib-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-doc 2.88.1-r2

Low-level core library that forms the basis for projects such as GTK and GNOME (documentation)

https://developer.gnome.org/glib/

sudo apk add glib-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-lang 2.88.1-r2

Languages for package glib

https://developer.gnome.org/glib/

sudo apk add glib-lang
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

glib-static 2.88.1-r2

Low-level core library that forms the basis for projects such as GTK and GNOME (static library)

https://developer.gnome.org/glib/

sudo apk add glib-static
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: glib
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: glib-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

glib 1.2.10-77.fc44

A library of handy utility functions

http://www.gtk.org/

sudo dnf install glib
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: glib
  • 2 Abhängigkeiten
  • 4 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Glib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: glib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

glib-devel 1.2.10-77.fc44

Libraries and header files for glib development

http://www.gtk.org/

sudo dnf install glib-devel
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: glib
  • 7 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Glib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: glib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

libgio-2_0-0 2.88.1-1.1

A virtual file system library API

https://gitlab.gnome.org/GNOME/glib/

sudo zypper install libgio-2_0-0
  • License: LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: glib2
  • 12 Abhängigkeiten
  • 3 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Gio
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libgio-2_0-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment