How To Install libxml-checker-perl on Debian 10

Learn how to install libxml-checker-perl on Debian 10 with this tutorial. libxml-checker-perl is Perl modules for validating XML

Introduction

In this tutorial we learn how to install libxml-checker-perl on Debian 10.

What is libxml-checker-perl

libxml-checker-perl is:

This package contains several modules for validating XML:

XML::Checker - contains the XML::Checker class that is used by the others XML::Checker::Parser - an XML::Parser that validates at parse time XML::DOM::ValParser - an XML::DOM::Parser that validates at parse time

There are three methods to install libxml-checker-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libxml-checker-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libxml-checker-perl

Install libxml-checker-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libxml-checker-perl using apt by running the following command:

sudo apt -y install libxml-checker-perl

Install libxml-checker-perl 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libxml-checker-perl using aptitude by running the following command:

sudo aptitude -y install libxml-checker-perl

How To Uninstall libxml-checker-perl on Debian 10

To uninstall only the libxml-checker-perl package we can use the following command:

sudo apt-get remove libxml-checker-perl

Uninstall libxml-checker-perl And Its Dependencies

To uninstall libxml-checker-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libxml-checker-perl

Remove libxml-checker-perl Configurations and Data

To remove libxml-checker-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libxml-checker-perl

Remove libxml-checker-perl configuration, data, and all of its dependencies

We can use the following command to remove libxml-checker-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libxml-checker-perl

Dependencies

libxml-checker-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libxml-checker-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.