How To Install libxml-um-perl on Debian 9
Introduction
In this tutorial we learn how to install libxml-um-perl
on Debian 9.
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 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-um-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libxml-um-perl
using apt-get
by running the following command:
Install libxml-um-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libxml-um-perl
using apt
by running the following command:
Install libxml-um-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.
After updating apt database, We can install libxml-um-perl
using aptitude
by running the following command:
How To Uninstall libxml-um-perl on Debian 9
To uninstall only the libxml-um-perl
package we can use the following command:
Uninstall libxml-um-perl And Its Dependencies
To uninstall libxml-um-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove libxml-um-perl Configurations and Data
To remove libxml-um-perl
configuration and data from Debian 9 we can use the following command:
Remove 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:
Dependencies
libxml-um-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libxml-um-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.