How To Install libxml-hash-lx-perl on Debian 9
Introduction
In this tutorial we learn how to install libxml-hash-lx-perl
on Debian 9.
What is libxml-hash-lx-perl
libxml-hash-lx-perl is:
XML::Hash::LX is a companion for XML::LibXML. It operates with LibXML objects, can return or accept LibXML objects, and may be used for easy data transformations.
It is faster in parsing than XML::Simple, XML::Hash, XML::Twig, and of course much slower than XML::Bare.
It is faster in composing than XML::Hash, but slower than XML::Simple.
There are three methods to install libxml-hash-lx-perl
on Debian 9. 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-hash-lx-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-hash-lx-perl
using apt-get
by running the following command:
sudo apt-get -y install libxml-hash-lx-perl
Install libxml-hash-lx-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxml-hash-lx-perl
using apt
by running the following command:
sudo apt -y install libxml-hash-lx-perl
Install libxml-hash-lx-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-hash-lx-perl
using aptitude
by running the following command:
sudo aptitude -y install libxml-hash-lx-perl
How To Uninstall libxml-hash-lx-perl on Debian 9
To uninstall only the libxml-hash-lx-perl
package we can use the following command:
sudo apt-get remove libxml-hash-lx-perl
Uninstall libxml-hash-lx-perl And Its Dependencies
To uninstall libxml-hash-lx-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libxml-hash-lx-perl
Remove libxml-hash-lx-perl Configurations and Data
To remove libxml-hash-lx-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libxml-hash-lx-perl
Remove libxml-hash-lx-perl configuration, data, and all of its dependencies
We can use the following command to remove libxml-hash-lx-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxml-hash-lx-perl
Dependencies
libxml-hash-lx-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libxml-hash-lx-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.