How To Install libdata-format-html-perl on Kali Linux

In this tutorial we learn how to install libdata-format-html-perl on Kali Linux. libdata-format-html-perl is Perl module for dumping Perl objects to HTML

Introduction

In this tutorial we learn how to install libdata-format-html-perl on Kali Linux.

What is libdata-format-html-perl

libdata-format-html-perl is:

Data::Format::HTML is a Perl module that takes a data structure as input and produces HTML suitable for output. It has support for most common Perl data types, even working with complicated nested data structures. In theory, you can pass in any sort of data type and get a “pretty” HTML representation of it. CSS rules can also extend this, but that behaviour is not yet documented.

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

sudo apt-get -y install libdata-format-html-perl

Install libdata-format-html-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdata-format-html-perl using apt by running the following command:

sudo apt -y install libdata-format-html-perl

Install libdata-format-html-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 libdata-format-html-perl using aptitude by running the following command:

sudo aptitude -y install libdata-format-html-perl

How To Uninstall libdata-format-html-perl on Kali Linux

To uninstall only the libdata-format-html-perl package we can use the following command:

sudo apt-get remove libdata-format-html-perl

Uninstall libdata-format-html-perl And Its Dependencies

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

sudo apt-get -y autoremove libdata-format-html-perl

Remove libdata-format-html-perl Configurations and Data

To remove libdata-format-html-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libdata-format-html-perl

Remove libdata-format-html-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdata-format-html-perl

Dependencies

libdata-format-html-perl have the following dependencies:

References

Summary

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