How To Install libmason-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmason-perl on Kali Linux.
What is libmason-perl
libmason-perl is:
Mason is a powerful Perl-based templating system, designed to generate dynamic content of all kinds.
Unlike many templating systems, Mason does not attempt to invent an alternate, “easier” syntax for templates. It provides a set of syntax and features specific to template creation, but underneath it is still clearly and proudly recognizable as Perl.
Mason is most often used for generating web pages. It can handle web requests directly via PSGI, or act as the view layer for a web framework such as Catalyst or Dancer.
All documentation is indexed at Mason::Manual.
The previous major version of Mason (1.x) is available under the name HTML::Mason (package libhtml-mason-perl).
There are three methods to install libmason-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 libmason-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmason-perl using apt-get by running the following command:
sudo apt-get -y install libmason-perlInstall libmason-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmason-perl using apt by running the following command:
sudo apt -y install libmason-perlInstall libmason-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 libmason-perl using aptitude by running the following command:
sudo aptitude -y install libmason-perlHow To Uninstall libmason-perl on Kali Linux
To uninstall only the libmason-perl package we can use the following command:
sudo apt-get remove libmason-perlUninstall libmason-perl And Its Dependencies
To uninstall libmason-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmason-perlRemove libmason-perl Configurations and Data
To remove libmason-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmason-perlRemove libmason-perl configuration, data, and all of its dependencies
We can use the following command to remove libmason-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmason-perlDependencies
libmason-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmason-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.