macOS
brew install libxmlblocal Homebrew formula metadata
sudo port install libxmlbMacPorts ports tree · devel/libxmlb/Portfile · 来源: api.github.com
安装
brew install libxmlblocal Homebrew formula metadata
sudo port install libxmlbMacPorts ports tree · devel/libxmlb/Portfile · 来源: api.github.com
sudo apk add libxmlbAlpine Linux edge package indexes · libxmlb · 来源: dl-cdn.alpinelinux.org
sudo dnf install libxmlbFedora Rawhide package metadata · libxmlb · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libxmlbnixpkgs package indexes · pkgs/by-name/li/libxmlb/package.nix · 来源: api.github.com
sudo pacman -S libxmlbArch Linux sync databases · libxmlb · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-xmlb-2.0Debian stable package indexes · gir1.2-xmlb-2.0 · 来源: deb.debian.org
sudo zypper install libxmlb-developenSUSE Tumbleweed package metadata · libxmlb-devel · 来源: download.opensuse.org
概览
Library for querying compressed XML metadata
历史
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.
安全态势
没有找到 libxmlb 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xb-tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hughsie/libxmlb
安装元数据
| 软件包键 | brew:libxmlb |
|---|---|
| 版本 | 0.3.28 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libxmlb |
| 主页 | https://github.com/hughsie/libxmlb |
| 仓库 | https://github.com/hughsie/libxmlb |
| 上游文档 | https://github.com/hughsie/libxmlb |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/hughsie/libxmlb/releases/download/0.3.28/libxmlb-0.3.28.tar.xz |
| 最后更新 | 2026-06-30T16:11:04Z |
| Pulse | updated |
| 依赖 | glib, xz, zstd |
| 构建依赖 | gi-docgen, gobject-introspection, meson, ninja, pkgconf, python@3.14, vala |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 libxmlb来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.