How To Install libcgi-application-plugin-authorization-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libcgi-application-plugin-authorization-perl
on Ubuntu 18.04.
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 Ubuntu 18.04. 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 update
After 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-perl
Install libcgi-application-plugin-authorization-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After 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-perl
Install libcgi-application-plugin-authorization-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After 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-perl
How To Uninstall libcgi-application-plugin-authorization-perl on Ubuntu 18.04
To uninstall only the libcgi-application-plugin-authorization-perl
package we can use the following command:
sudo apt-get remove libcgi-application-plugin-authorization-perl
Uninstall libcgi-application-plugin-authorization-perl And Its Dependencies
To uninstall libcgi-application-plugin-authorization-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libcgi-application-plugin-authorization-perl
Remove libcgi-application-plugin-authorization-perl Configurations and Data
To remove libcgi-application-plugin-authorization-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libcgi-application-plugin-authorization-perl
Remove 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-perl
References
- libcgi-application-plugin-authorization-perl website
- libcgi-application-plugin-authorization-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libcgi-application-plugin-authorization-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.