How To Install libmoose-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmoose-perl on Kali Linux.
What is libmoose-perl
libmoose-perl is:
Moose is an extension of the Perl 5 object system. The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent, and less tedious. With Moose you can think more about what you want to do and less about the mechanics of OOP.
Additionally, Moose is built on top of Class::MOP, which is a metaclass system for Perl 5. This means that Moose not only makes building normal Perl 5 objects better, but it provides the power of metaclass programming as well.
Moose also conveniently manages all attributes (including inherited ones) that are defined, but also provides facilities for properly initializing instance slots, setting defaults where appropriate and performing any necessary type constraint checking or coercion.
More details about the structure of Moose as well as its features can be found in the ever-expanding Moose::Cookbook document.
There are three methods to install libmoose-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 libmoose-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmoose-perl using apt-get by running the following command:
sudo apt-get -y install libmoose-perlInstall libmoose-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmoose-perl using apt by running the following command:
sudo apt -y install libmoose-perlInstall libmoose-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 libmoose-perl using aptitude by running the following command:
sudo aptitude -y install libmoose-perlHow To Uninstall libmoose-perl on Kali Linux
To uninstall only the libmoose-perl package we can use the following command:
sudo apt-get remove libmoose-perlUninstall libmoose-perl And Its Dependencies
To uninstall libmoose-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmoose-perlRemove libmoose-perl Configurations and Data
To remove libmoose-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmoose-perlRemove libmoose-perl configuration, data, and all of its dependencies
We can use the following command to remove libmoose-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmoose-perlDependencies
libmoose-perl have the following dependencies:
- perl
- perlapi-5.32.0
- libc6
- libclass-load-perl
- libclass-load-xs-perl
- libdata-optlist-perl
- libdevel-globaldestruction-perl
- libdevel-overloadinfo-perl
- libdevel-stacktrace-perl
- libeval-closure-perl
- libmodule-runtime-conflicts-perl
- libmodule-runtime-perl
- libmro-compat-perl
- libpackage-deprecationmanager-perl
- libpackage-stash-perl
- libpackage-stash-xs-perl
- libparams-util-perl
- libscalar-list-utils-perl
References
Summary
In this tutorial we learn how to install libmoose-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.