How To Install libxmlb on Fedora 36
Introduction
In this tutorial we learn how to install libxmlb
on Fedora 36.
What is libxmlb
XML is slow to parse and strings inside the document cannot be memory mapped as they do not have a trailing NUL char. The libxmlb library takes XML source, and converts it to a structured binary representation with a deduplicated string table – where the strings have the NULs included. This allows an application to mmap the binary XML file, do an XPath query and return some strings without actually parsing the entire document. This is all done using (almost) zero allocations and no actual copying of the binary data.
We can use yum
or dnf
to install libxmlb
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxmlb.
Install libxmlb on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libxmlb
using dnf
by running the following command:
sudo dnf -y install libxmlb
Install libxmlb on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libxmlb
using yum
by running the following command:
sudo yum -y install libxmlb
How To Uninstall libxmlb on Fedora 36
To uninstall only the libxmlb
package we can use the following command:
sudo dnf remove libxmlb
libxmlb Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/dc4221609c09d0186429961bb3128642a9fb40
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/06b8d34b2996a21a979f02b97ac2b4d5ec0b0a
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Xmlb-2.0.typelib
/usr/lib64/libxmlb.so.2
/usr/lib64/libxmlb.so.2.0.0
/usr/libexec/xb-tool
/usr/share/doc/libxmlb
/usr/share/doc/libxmlb/README.md
/usr/share/licenses/libxmlb
/usr/share/licenses/libxmlb/LICENSE
References
Summary
In this tutorial we learn how to install libxmlb
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).