glib
brew install glib
v2.88.1
LGPL-2.1-or-later
C library providing core data structures, event loops, and utilities for GNOME and GTK applications.
Why you might care
GLib is a foundational dependency for GTK, GNOME, and many Linux desktop/system tools; it provides cross-platform abstractions (memory management, threading, hash tables, string handling) that reduce boilerplate. Use it when building C applications that need portable, well-tested utilities or integrating with the GNOME ecosystem.
179.1k
30-day installs · #12
583.5k
90-day · #14
2.5M
365-day · #10
Runtime dependencies
Build dependencies
Links
- https://docs.gtk.org/glib/
- Brew formula source: Formula/g/glib.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"GTK",
"Qt",
"Boost"
],
"build_dependencies": [
"bison",
"gettext",
"meson",
"ninja",
"pkgconf",
"python-setuptools",
"python@3.14"
],
"categories": [
"library",
"header-only-library"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"pcre2",
"gettext"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Core application library for C",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:09+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "glib",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://docs.gtk.org/glib/",
"homepage_og_description": "Reference for GLib-2.0",
"homepage_og_image": null,
"homepage_title": "GLib \u2013 2.0",
"installs_30d": 179088,
"installs_365d": 2495070,
"installs_90d": 583541,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "LGPL-2.1-or-later",
"llm_generated_at": "2026-06-20T23:42:06+00:00",
"llm_model": "claude-haiku-4-5",
"name": "glib",
"oldnames": [
"glib-utils"
],
"one_liner": "C library providing core data structures, event loops, and utilities for GNOME and GTK applications.",
"optional_dependencies": [],
"rank_30d": 12,
"rank_365d": 10,
"rank_90d": 14,
"raw_hash": "1afe65c84ba5fb7c",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/glib.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"flex": "build"
},
"libffi",
"python"
],
"version_head": null,
"version_stable": "2.88.1",
"versioned_formulae": [],
"why_use_this": "GLib is a foundational dependency for GTK, GNOME, and many Linux desktop/system tools; it provides cross-platform abstractions (memory management, threading, hash tables, string handling) that reduce boilerplate. Use it when building C applications that need portable, well-tested utilities or integrating with the GNOME ecosystem."
}