How To Install libcgi-application-plugin-authorization-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcgi-application-plugin-authorization-perl on Kali Linux.
What is libcgi-application-plugin-authorization-perl
libcgi-application-plugin-authorization-perl is:
CGI::Application::Plugin::Authorization adds the ability to authorize users for specific tasks. Once a user has been authenticated and you know who you are dealing with, you can then use this plugin to control what that user has access to. It imports two methods (authz and authorization) into your CGI::Application module. Both of these methods are interchangeable, so you should choose one and use it consistently throughout your code. Through the authz method you can call all the methods of the CGI::Application::Plugin::Authorization plugin.
This package also bundles an active directory driver: CGI::Application::Plugin::Authorization::Driver::ActiveDirectory
There are three methods to install libcgi-application-plugin-authorization-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 libcgi-application-plugin-authorization-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcgi-application-plugin-authorization-perl using apt-get by running the following command:
sudo apt-get -y install libcgi-application-plugin-authorization-perlInstall libcgi-application-plugin-authorization-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcgi-application-plugin-authorization-perl using apt by running the following command:
sudo apt -y install libcgi-application-plugin-authorization-perlInstall libcgi-application-plugin-authorization-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 libcgi-application-plugin-authorization-perl using aptitude by running the following command:
sudo aptitude -y install libcgi-application-plugin-authorization-perlHow To Uninstall libcgi-application-plugin-authorization-perl on Kali Linux
To uninstall only the libcgi-application-plugin-authorization-perl package we can use the following command:
sudo apt-get remove libcgi-application-plugin-authorization-perlUninstall libcgi-application-plugin-authorization-perl And Its Dependencies
To uninstall libcgi-application-plugin-authorization-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcgi-application-plugin-authorization-perlRemove libcgi-application-plugin-authorization-perl Configurations and Data
To remove libcgi-application-plugin-authorization-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcgi-application-plugin-authorization-perlRemove libcgi-application-plugin-authorization-perl configuration, data, and all of its dependencies
We can use the following command to remove libcgi-application-plugin-authorization-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcgi-application-plugin-authorization-perlDependencies
libcgi-application-plugin-authorization-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcgi-application-plugin-authorization-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.