How To Install libxml-writer-perl on Kali Linux
Introduction
In this tutorial we learn how to install libxml-writer-perl on Kali Linux.
What is libxml-writer-perl
libxml-writer-perl is:
XML::Writer is a helper module for Perl programs that write an XML document. The module handles all escaping for attribute values and character data and constructs different types of markup, such as tags, comments, and processing instructions.
By default, the module performs several well-formedness checks to catch errors during output. This behaviour can be extremely useful during development and debugging, but it can be turned off for production-grade code.
The module can operate either in regular mode in or Namespace processing mode. In Namespace mode, the module will generate Namespace Declarations itself, and will perform additional checks on the output.
Additional support is available for a simplified data mode with no mixed content: newlines are automatically inserted around elements and elements can optionally be indented based as their nesting level.
There are three methods to install libxml-writer-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-writer-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-writer-perl using apt-get by running the following command:
sudo apt-get -y install libxml-writer-perlInstall libxml-writer-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libxml-writer-perl using apt by running the following command:
sudo apt -y install libxml-writer-perlInstall libxml-writer-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-writer-perl using aptitude by running the following command:
sudo aptitude -y install libxml-writer-perlHow To Uninstall libxml-writer-perl on Kali Linux
To uninstall only the libxml-writer-perl package we can use the following command:
sudo apt-get remove libxml-writer-perlUninstall libxml-writer-perl And Its Dependencies
To uninstall libxml-writer-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libxml-writer-perlRemove libxml-writer-perl Configurations and Data
To remove libxml-writer-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libxml-writer-perlRemove libxml-writer-perl configuration, data, and all of its dependencies
We can use the following command to remove libxml-writer-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxml-writer-perlDependencies
libxml-writer-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libxml-writer-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.