Introduction to libxmlb

The libxmlb package contains a library and a tool which help create and query binary XML blobs.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libxmlb Dependencies





GTK-Doc-1.33.2 and libstemmer

Installation of libxmlb

Install libxmlb by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release -Dgtkdoc=false .. &&

To test the results, issue: ninja test.

Now, as the root user:

ninja install

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-Dgtkdoc=false: This switch disables building the API documentation. Remove it if you have GTK-Doc-1.33.2 installed and wish to build the API documentation.

-Dintrospection=false: Use this switch if you do not have gobject-introspection-1.78.1 installed.

-Dstemmer=true: Use this switch if you have libstemmer installed and wish to build stemmer support.


Installed Programs: xb-tool
Installed Libraries:
Installed Directories: /usr/include/libxmlb-2, /usr/libexec/installed-tests/libxmlb, and /usr/share/gtk-doc/html/libxmlb (if gtk-doc was enabled)

Short Descriptions


is a tool used to create, dump, or query a binary XML blob

contains functions that allow for creating and querying binary XML blobs