macOS
brew install libxmlblocal Homebrew formula metadata
sudo port install libxmlbMacPorts ports tree · devel/libxmlb/Portfile · source: api.github.com
brew
Library for querying compressed XML metadata. Version 0.3.28 via Homebrew; verified 2026-06-30.
install
brew install libxmlblocal Homebrew formula metadata
sudo port install libxmlbMacPorts ports tree · devel/libxmlb/Portfile · source: api.github.com
sudo apk add libxmlbAlpine Linux edge package indexes · libxmlb · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-xmlb-2.0Debian stable package indexes · gir1.2-xmlb-2.0 · source: deb.debian.org
sudo dnf install libxmlbFedora Rawhide package metadata · libxmlb · source: dl.fedoraproject.org
nix profile install nixpkgs#libxmlbnixpkgs package indexes · pkgs/by-name/li/libxmlb/package.nix · source: api.github.com
sudo pacman -S libxmlbArch Linux sync databases · libxmlb · source: geo.mirror.pkgbuild.com
sudo zypper install libxmlb-developenSUSE Tumbleweed package metadata · libxmlb-devel · source: download.opensuse.org
overview
Library for querying compressed XML metadata
history
libxmlb is a small system library for compiling XML metadata into a binary representation that can be memory-mapped and queried quickly. It is most associated with desktop and firmware metadata workflows where large XML files need repeated lookups.
Richard Hughes' README frames the project around the cost of parsing XML and the inability to mmap normal XML strings directly. libxmlb converts XML into a structured binary format with a deduplicated string table and NUL-terminated strings, trading compactness for fast queries and near zero-copy access.
The first visible 0.1.0 GitHub tag points to a commit dated 2018-10-04. The design is intentionally narrow: it implements only a subset of XPath and ships xb-tool for compiling and querying binary XML.
libxmlb became useful in Linux desktop plumbing because projects such as AppStream and fwupd deal in large XML metadata collections. The same maintainer ecosystem around GNOME, fwupd, and LVFS made the binary metadata cache a practical dependency for package and firmware tooling.
Typical usage is to compile XML metadata into an .xmlb file and query it with xb-tool or through the library API. It is a cache/query accelerator, not a general-purpose XML replacement.
libxmlb matters to package nerds because it sits where package metadata, desktop app metadata, and firmware metadata meet performance constraints. It turns text metadata into a binary cache that package managers and desktop software centers can query cheaply.
security posture
No matching local secret-handling manifest was found for libxmlb. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xb-tool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/hughsie/libxmlb
install metadata
| Package key | brew:libxmlb |
|---|---|
| Version | 0.3.28 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libxmlb |
| Homepage | https://github.com/hughsie/libxmlb |
| Repository | https://github.com/hughsie/libxmlb |
| Upstream docs | https://github.com/hughsie/libxmlb |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/hughsie/libxmlb/releases/download/0.3.28/libxmlb-0.3.28.tar.xz |
| Last updated | 2026-06-30T16:11:04Z |
| Pulse | updated |
| Dependencies | glib, xz, zstd |
| Build dependencies | gi-docgen, gobject-introspection, meson, ninja, pkgconf, python@3.14, vala |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libxmlb |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gir1.2-xmlb-2.0 0.3.22-1
GObject introspection data for libxmlb
https://github.com/hughsie/libxmlb
sudo apt install gir1.2-xmlb-2.0libxmlb-dev 0.3.22-1
Development files for libxmlb
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-devlibxmlb-tests 0.3.22-1
Installed tests for libxmlb2
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-testslibxmlb-utils 0.3.22-1
Binary XML library - Command-line utility
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-utilslibxmlb2 0.3.22-1
Binary XML library
https://github.com/hughsie/libxmlb
sudo apt install libxmlb2libxmlb
nix profile install nixpkgs#libxmlbgir1.2-xmlb-2.0 0.3.18-1
GObject introspection data for libxmlb
https://github.com/hughsie/libxmlb
sudo apt install gir1.2-xmlb-2.0libxmlb-dev 0.3.18-1
Development files for libxmlb
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-devlibxmlb-tests 0.3.18-1
Installed tests for libxmlb2
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-testslibxmlb-utils 0.3.18-1
Binary XML library - Command-line utility
https://github.com/hughsie/libxmlb
sudo apt install libxmlb-utilslibxmlb2 0.3.18-1
Binary XML library
https://github.com/hughsie/libxmlb
sudo apt install libxmlb2libxmlb 0.3.27-r0
Library to help create and query binary XML blobs
https://github.com/hughsie/libxmlb
sudo apk add libxmlblibxmlb-dbg 0.3.27-r0
Library to help create and query binary XML blobs (debug symbols)
https://github.com/hughsie/libxmlb
sudo apk add libxmlb-dbglibxmlb-dev 0.3.27-r0
Library to help create and query binary XML blobs (development files)
https://github.com/hughsie/libxmlb
sudo apk add libxmlb-devlibxmlb-doc 0.3.27-r0
Library to help create and query binary XML blobs (documentation)
https://github.com/hughsie/libxmlb
sudo apk add libxmlb-doclibxmlb 0.3.27-1.fc45
Library for querying compressed XML metadata
https://github.com/hughsie/libxmlb
sudo dnf install libxmlbsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.