# Install dbus-glib with Homebrew, apk, dnf, MacPorts, Nix, pacman, apt

GLib bindings for the D-Bus message bus system. Version 0.114 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libdbus-glib-1-2.

## Install

```sh
sudo av install brew:dbus-glib
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dbus-glib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dbus-glib
```

  Evidence: MacPorts ports tree: devel/dbus-glib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dbus-glib
```

  Evidence: Alpine Linux edge package indexes: dbus-glib from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install dbus-glib
```

  Evidence: Fedora Rawhide package metadata: dbus-glib 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#dbus-glib
```

  Evidence: nixpkgs package indexes: pkgs/by-name/db/dbus-glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dbus-glib
```

  Evidence: Arch Linux sync databases: dbus-glib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libdbus-glib-1-2
```

  Evidence: Debian stable package indexes: libdbus-glib-1-2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:dbus-glib
- **Package manager:** Homebrew
- **Version:** 0.114
- **Source summary:** GLib bindings for the D-Bus message bus system
- **Homepage:** <https://wiki.freedesktop.org/www/Software/DBusBindings/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dbus-binding-tool (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.114
## Project history and usage

dbus-glib is the older GLib binding layer for D-Bus, distributed with the dbus-binding-tool code generator and documented as the D-Bus GLib bindings reference manual.

### Project history

The package represents the early GLib-facing API for applications that wanted D-Bus integration through GObject-style types and proxies. Its reference manual documents both the library API and dbus-binding-tool, the C-language GLib binding generation utility.

### Adoption history

dbus-glib became legacy infrastructure after GLib 2.26 introduced GDBus in GIO. The official reference manual now warns that dbus-glib is deprecated for new code and says D-Bus maintainers recommend GDBus instead.

### How it is used

Today the package is mainly installed for older GLib applications or source trees that still use dbus-glib APIs or generated bindings. New GLib code is expected to use GDBus, while dbus-glib remains useful when building historical desktop software.

### Why package nerds care

It is a classic compatibility package: small, unglamorous, and still important because old desktop components may depend on the GLib binding even though the modern stack has moved on.

### Timeline

- 0.104: Official reference manual documents the dbus-glib API and dbus-binding-tool.
- GLib 2.26: GDBus becomes part of GLib's GIO library and supersedes dbus-glib for new GLib applications.

### Related projects

- Related D-Bus GLib-era and successor projects include D-Bus, libdbus, GDBus, QtDBus, sd-bus, and the wider set of D-Bus language bindings listed by freedesktop.org.

### Sources

- <https://dbus.freedesktop.org/doc/dbus-glib/>
- <https://www.freedesktop.org/wiki/Software/DBusBindings/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - libdbus-glib-1-2 - 0.114-1: normalized package name match | Debian stable package indexes: libdbus-glib-1-2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | deprecated library for D-Bus IPC | https://www.freedesktop.org/wiki/Software/DBusBindings
- Debian apt - libdbus-glib-1-dev - 0.114-1: normalized package name match | Debian stable package indexes: libdbus-glib-1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | deprecated library for D-Bus IPC (development files) | https://www.freedesktop.org/wiki/Software/DBusBindings
- Debian apt - libdbus-glib-1-dev-bin - 0.114-1: normalized package name match | Debian stable package indexes: libdbus-glib-1-dev-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | deprecated library for D-Bus IPC (development tools) | https://www.freedesktop.org/wiki/Software/DBusBindings
- Debian apt - libdbus-glib-1-doc - 0.114-1: normalized package name match | Debian stable package indexes: libdbus-glib-1-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | deprecated library for D-Bus IPC (API documentation) | https://www.freedesktop.org/wiki/Software/DBusBindings
- Nix - dbus-glib: normalized package name match | nixpkgs package indexes: pkgs/by-name/db/dbus-glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libdbus-glib-1-2 - 0.112-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libdbus-glib-1-2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | deprecated library for D-Bus IPC | https://www.freedesktop.org/wiki/Software/DBusBindings
- Ubuntu apt - libdbus-glib-1-dev - 0.112-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libdbus-glib-1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | deprecated library for D-Bus IPC (development files) | https://www.freedesktop.org/wiki/Software/DBusBindings
- Ubuntu apt - libdbus-glib-1-dev-bin - 0.112-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libdbus-glib-1-dev-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | deprecated library for D-Bus IPC (development tools) | https://www.freedesktop.org/wiki/Software/DBusBindings
- Ubuntu apt - libdbus-glib-1-doc - 0.112-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libdbus-glib-1-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | deprecated library for D-Bus IPC (API documentation) | https://www.freedesktop.org/wiki/Software/DBusBindings
- apk - dbus-glib - 0.114-r0: normalized package name match | Alpine Linux edge package indexes: dbus-glib from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GLib bindings for DBUS | https://www.freedesktop.org/wiki/Software/DBusBindings
- apk - dbus-glib-dev - 0.114-r0: normalized package name match | Alpine Linux edge package indexes: dbus-glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GLib bindings for DBUS (development files) | https://www.freedesktop.org/wiki/Software/DBusBindings
- apk - dbus-glib-doc - 0.114-r0: normalized package name match | Alpine Linux edge package indexes: dbus-glib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GLib bindings for DBUS (documentation) | https://www.freedesktop.org/wiki/Software/DBusBindings
- dnf - dbus-glib - 0.112-14.fc45: normalized package name match | Fedora Rawhide package metadata: dbus-glib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GLib bindings for D-Bus | https://www.freedesktop.org/software/dbus/
- dnf - dbus-glib-devel - 0.112-14.fc45: normalized package name match | Fedora Rawhide package metadata: dbus-glib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries and headers for the D-Bus GLib bindings | https://www.freedesktop.org/software/dbus/
- pacman - dbus-glib - 0.114-1: normalized package name match | Arch Linux sync databases: dbus-glib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GLib bindings for D-Bus (deprecated) | https://www.freedesktop.org/wiki/Software/dbus/
- MacPorts - dbus-glib: normalized package name match | MacPorts ports tree: devel/dbus-glib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
