How To Install libxmlb1 on Ubuntu 20.04

In this tutorial we learn how to install libxmlb1 on Ubuntu 20.04. libxmlb1 is Binary XML library Binary XML library

Introduction

In this tutorial we learn how to install libxmlb1 on Ubuntu 20.04.

What is libxmlb1

libxmlb1 is:

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. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libxmlb1 Architecture: amd64 Version: 0.1.15-2 Multi-Arch: same Priority: optional Section: libs 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: 164 Depends: libc6 (>= 2.14), libglib2.0-0 (>= 2.53.2) Filename: pool/main/libx/libxmlb/libxmlb1_0.1.15-2_amd64.deb Size: 50248 MD5sum: fd11cf3d07e06a2037667a02594a0eaf SHA1: 5f1f42cf4f10c750438a37357e838fcc45b20804 SHA256: 7544388868abca90430f97360f3f3d0b33781c658b4613ef55841ebec667aade Homepage: https://github.com/hughsie/libxmlb Description-en: Binary XML library 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. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libxmlb1 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 libxmlb1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libxmlb1 using apt-get by running the following command:

sudo apt-get -y install libxmlb1

Install libxmlb1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libxmlb1 using apt by running the following command:

sudo apt -y install libxmlb1

Install libxmlb1 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 libxmlb1 using aptitude by running the following command:

sudo aptitude -y install libxmlb1

How To Uninstall libxmlb1 on Ubuntu 20.04

To uninstall only the libxmlb1 package we can use the following command:

sudo apt-get remove libxmlb1

Uninstall libxmlb1 And Its Dependencies

To uninstall libxmlb1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libxmlb1

Remove libxmlb1 Configurations and Data

To remove libxmlb1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libxmlb1

Remove libxmlb1 configuration, data, and all of its dependencies

We can use the following command to remove libxmlb1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libxmlb1

References

Summary

In this tutorial we learn how to install libxmlb1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.