How To Install libhtml-mason-perl on Kali Linux

In this tutorial we learn how to install libhtml-mason-perl on Kali Linux. libhtml-mason-perl is HTML

Introduction

In this tutorial we learn how to install libhtml-mason-perl on Kali Linux.

What is libhtml-mason-perl

libhtml-mason-perl is:

Mason allows web pages and sites to be constructed from shared, reusable building blocks called components. Components contain a mix of Perl and HTML, and can call each other and pass values back and forth like subroutines. Components increase modularity and eliminate repetitive work: common design elements (headers, footers, menus, logos) can be extracted into their own components where they need be changed only once to affect the whole site.

Other Mason features include a graphical site previewing utility, an HTML/data caching model, and the ability to walk through requests with the Perl debugger.

This package contains the HTML::Mason modules.

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

sudo apt-get -y install libhtml-mason-perl

Install libhtml-mason-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhtml-mason-perl

Install libhtml-mason-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 libhtml-mason-perl using aptitude by running the following command:

sudo aptitude -y install libhtml-mason-perl

How To Uninstall libhtml-mason-perl on Kali Linux

To uninstall only the libhtml-mason-perl package we can use the following command:

sudo apt-get remove libhtml-mason-perl

Uninstall libhtml-mason-perl And Its Dependencies

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

sudo apt-get -y autoremove libhtml-mason-perl

Remove libhtml-mason-perl Configurations and Data

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

sudo apt-get -y purge libhtml-mason-perl

Remove libhtml-mason-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhtml-mason-perl

Dependencies

libhtml-mason-perl have the following dependencies:

References

Summary

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