How To Install libxmlada-dom6 on Ubuntu 20.04

In this tutorial we learn how to install libxmlada-dom6 on Ubuntu 20.04. libxmlada-dom6 is XML/Ada, a full XML suite for Ada programmers (dom runtime)

Introduction

In this tutorial we learn how to install libxmlada-dom6 on Ubuntu 20.04.

What is libxmlada-dom6

libxmlada-dom6 is:

XML/Ada is a set of modules that provide a simple manipulation of XML streams. It supports the whole XML 1.0 specifications, and can parse any file that follows this standard (including the contents of the DTD). It also provides support for a number of other standard associated with XML, like SAX, DOM, and XML Schemas. In addition, it includes a module to manipulate Unicode streams, since this is required by the XML standard.

This package contains the dom runtime shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libxmlada-dom6

Install libxmlada-dom6 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxmlada-dom6

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

sudo aptitude -y install libxmlada-dom6

How To Uninstall libxmlada-dom6 on Ubuntu 20.04

To uninstall only the libxmlada-dom6 package we can use the following command:

sudo apt-get remove libxmlada-dom6

Uninstall libxmlada-dom6 And Its Dependencies

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

sudo apt-get -y autoremove libxmlada-dom6

Remove libxmlada-dom6 Configurations and Data

To remove libxmlada-dom6 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libxmlada-dom6

Remove libxmlada-dom6 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libxmlada-dom6

References

Summary

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