How To Install libcatalyst-plugin-authentication-perl on Debian 10

Learn how to install libcatalyst-plugin-authentication-perl on Debian 10 with this tutorial. libcatalyst-plugin-authentication-perl is Infrastructure plugin for the Catalyst authentication framework

Introduction

In this tutorial we learn how to install libcatalyst-plugin-authentication-perl on Debian 10.

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 Debian 10. 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 update

After 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-perl

Install libcatalyst-plugin-authentication-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcatalyst-plugin-authentication-perl using apt by running the following command:

sudo apt -y install libcatalyst-plugin-authentication-perl

Install libcatalyst-plugin-authentication-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libcatalyst-plugin-authentication-perl using aptitude by running the following command:

sudo aptitude -y install libcatalyst-plugin-authentication-perl

How To Uninstall libcatalyst-plugin-authentication-perl on Debian 10

To uninstall only the libcatalyst-plugin-authentication-perl package we can use the following command:

sudo apt-get remove libcatalyst-plugin-authentication-perl

Uninstall libcatalyst-plugin-authentication-perl And Its Dependencies

To uninstall libcatalyst-plugin-authentication-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libcatalyst-plugin-authentication-perl

Remove libcatalyst-plugin-authentication-perl Configurations and Data

To remove libcatalyst-plugin-authentication-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libcatalyst-plugin-authentication-perl

Remove 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-perl

Dependencies

libcatalyst-plugin-authentication-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libcatalyst-plugin-authentication-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.