How To Install libcatalyst-plugin-authentication-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcatalyst-plugin-authentication-perl on Kali Linux.
What is libcatalyst-plugin-authentication-perl
libcatalyst-plugin-authentication-perl is:
Catalyst::Plugin::Authentication provides generic user support for Catalyst apps. It is the basis for both authentication (checking the user is who they claim to be), and authorization (allowing the user to do what the system authorises them to do).
Using authentication is split into two parts. A Store is used to actually store the user information, and can store any amount of data related to the user. Credentials are used to verify users, using information from the store, given data from the frontend. A Credential and a Store are paired to form a ‘Realm’. A Catalyst application using the authentication framework must have at least one realm, and may have several.
To implement authentication in a Catalyst application you need to add this module, and specify at least one realm in the configuration.
Catalyst is an elegant Model-View-Controller web application framework written in Perl.
There are three methods to install libcatalyst-plugin-authentication-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 libcatalyst-plugin-authentication-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcatalyst-plugin-authentication-perl using apt-get by running the following command:
sudo apt-get -y install libcatalyst-plugin-authentication-perlInstall libcatalyst-plugin-authentication-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcatalyst-plugin-authentication-perl using apt by running the following command:
sudo apt -y install libcatalyst-plugin-authentication-perlInstall libcatalyst-plugin-authentication-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 libcatalyst-plugin-authentication-perl using aptitude by running the following command:
sudo aptitude -y install libcatalyst-plugin-authentication-perlHow To Uninstall libcatalyst-plugin-authentication-perl on Kali Linux
To uninstall only the libcatalyst-plugin-authentication-perl package we can use the following command:
sudo apt-get remove libcatalyst-plugin-authentication-perlUninstall libcatalyst-plugin-authentication-perl And Its Dependencies
To uninstall libcatalyst-plugin-authentication-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcatalyst-plugin-authentication-perlRemove libcatalyst-plugin-authentication-perl Configurations and Data
To remove libcatalyst-plugin-authentication-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcatalyst-plugin-authentication-perlRemove libcatalyst-plugin-authentication-perl configuration, data, and all of its dependencies
We can use the following command to remove libcatalyst-plugin-authentication-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcatalyst-plugin-authentication-perlDependencies
libcatalyst-plugin-authentication-perl have the following dependencies:
- perl
- libcatalyst-perl
- libcatalyst-plugin-session-perl
- libclass-inspector-perl
- libmoose-perl
- libmoosex-emulate-class-accessor-fast-perl
- libmro-compat-perl
- libnamespace-autoclean-perl
- libstring-rewriteprefix-perl
- libtry-tiny-perl
References
Summary
In this tutorial we learn how to install libcatalyst-plugin-authentication-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.