How To Install libcatmandu-xml-perl on Kali Linux

In this tutorial we learn how to install libcatmandu-xml-perl on Kali Linux. libcatmandu-xml-perl is modules for handling XML data within the Catmandu framework

Introduction

In this tutorial we learn how to install libcatmandu-xml-perl on Kali Linux.

What is libcatmandu-xml-perl

libcatmandu-xml-perl is:

Catmandu provides a suite of Perl modules to ease the import, storage, retrieval, export and transformation of metadata records.

Catmandu::XML contains modules for handling XML data within the Catmandu framework. Parsing and serializing is based on XML::LibXML with XML::Struct. XSLT transformation is based on XML::LibXSLT.

There are three methods to install libcatmandu-xml-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 libcatmandu-xml-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 libcatmandu-xml-perl using apt-get by running the following command:

sudo apt-get -y install libcatmandu-xml-perl

Install libcatmandu-xml-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcatmandu-xml-perl

Install libcatmandu-xml-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 update

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

sudo aptitude -y install libcatmandu-xml-perl

How To Uninstall libcatmandu-xml-perl on Kali Linux

To uninstall only the libcatmandu-xml-perl package we can use the following command:

sudo apt-get remove libcatmandu-xml-perl

Uninstall libcatmandu-xml-perl And Its Dependencies

To uninstall libcatmandu-xml-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libcatmandu-xml-perl

Remove libcatmandu-xml-perl Configurations and Data

To remove libcatmandu-xml-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcatmandu-xml-perl

Remove libcatmandu-xml-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcatmandu-xml-perl

Dependencies

libcatmandu-xml-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libcatmandu-xml-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.