How To Install libxmlb-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libxmlb-dev
on Ubuntu 20.04.
What is libxmlb-dev
libxmlb-dev is:
This package provides development libraryes for libxmlb.
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.
Package: libxmlb-dev Architecture: amd64 Version: 0.1.15-2 Multi-Arch: same Priority: optional Section: libdevel Source: libxmlb Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 897 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.30.0), libxmlb1 (>= 0.1.1), gir1.2-xmlb-1.0 (= 0.1.15-2) Filename: pool/main/libx/libxmlb/libxmlb-dev_0.1.15-2_amd64.deb Size: 60200 MD5sum: c8005242d69e06cb34952308a4f4a2ff SHA1: 68934d2dce95a6e1270d0a339c6a1a52c979cbc7 SHA256: 2fe58fc5f79b557f6969272c28dceafed7654c8b00fb46bb57b5c4f92ab2e7ef Homepage: https://github.com/hughsie/libxmlb Description-en: development files for libxmlb This package provides development libraryes for libxmlb.
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.
There are three methods to install libxmlb-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libxmlb-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libxmlb-dev
using apt-get
by running the following command:
sudo apt-get -y install libxmlb-dev
Install libxmlb-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxmlb-dev
using apt
by running the following command:
sudo apt -y install libxmlb-dev
Install libxmlb-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libxmlb-dev
using aptitude
by running the following command:
sudo aptitude -y install libxmlb-dev
How To Uninstall libxmlb-dev on Ubuntu 20.04
To uninstall only the libxmlb-dev
package we can use the following command:
sudo apt-get remove libxmlb-dev
Uninstall libxmlb-dev And Its Dependencies
To uninstall libxmlb-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libxmlb-dev
Remove libxmlb-dev Configurations and Data
To remove libxmlb-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libxmlb-dev
Remove libxmlb-dev configuration, data, and all of its dependencies
We can use the following command to remove libxmlb-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxmlb-dev
References
Summary
In this tutorial we learn how to install libxmlb-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.