How To Install libxml-um-perl on Kali Linux
Introduction
In this tutorial we learn how to install libxml-um-perl on Kali Linux.
What is libxml-um-perl
libxml-um-perl is:
The XML::UM module provides methods to convert UTF-8 strings to any XML encoding that XML::Encoding supports. It creates mapping routines from the .xml files that can be found in the maps/ directory in the XML::Encoding distribution. Note that the XML::Encoding distribution does install the .enc files in your perl directory, but not the.xml files they were created from. That’s why you have to specify $ENCDIR as in the SYNOPSIS.
This implementation uses the XML::Encoding class to parse the .xml file and creates a hash that maps UTF-8 characters (each consisting of up to 4 bytes) to their equivalent byte sequence in the specified encoding. Note that large mappings may consume a lot of memory!
Future implementations may parse the .enc files directly, or do the conversions entirely in XS (i.e. C code).
There are three methods to install libxml-um-perl on Kali Linux. 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-um-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libxml-um-perl using apt-get by running the following command:
sudo apt-get -y install libxml-um-perlInstall libxml-um-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libxml-um-perl using apt by running the following command:
sudo apt -y install libxml-um-perlInstall libxml-um-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libxml-um-perl using aptitude by running the following command:
sudo aptitude -y install libxml-um-perlHow To Uninstall libxml-um-perl on Kali Linux
To uninstall only the libxml-um-perl package we can use the following command:
sudo apt-get remove libxml-um-perlUninstall libxml-um-perl And Its Dependencies
To uninstall libxml-um-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libxml-um-perlRemove libxml-um-perl Configurations and Data
To remove libxml-um-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libxml-um-perlRemove libxml-um-perl configuration, data, and all of its dependencies
We can use the following command to remove libxml-um-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxml-um-perlDependencies
libxml-um-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libxml-um-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.