How To Install libcatalyst-authentication-credential-http-perl on Debian 10

Learn how to install libcatalyst-authentication-credential-http-perl on Debian 10 with this tutorial. libcatalyst-authentication-credential-http-perl is HTTP Basic and Digest authentication for Catalyst

Introduction

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

What is libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-credential-http-perl is:

Catalyst::Authentication::Credential::HTTP lets you use HTTP authentication with Catalyst::Plugin::Authentication. Both basic and digest authentication are currently supported.

When authentication is required, this module sets a status of 401, and the body of the response to ‘Authorization required.’. To override this and set your own content, check for the “$c->res->status == 401” in your “end” action, and change the body accordingly.

There are three methods to install libcatalyst-authentication-credential-http-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-authentication-credential-http-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-authentication-credential-http-perl using apt-get by running the following command:

sudo apt-get -y install libcatalyst-authentication-credential-http-perl

Install libcatalyst-authentication-credential-http-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcatalyst-authentication-credential-http-perl

Install libcatalyst-authentication-credential-http-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-authentication-credential-http-perl using aptitude by running the following command:

sudo aptitude -y install libcatalyst-authentication-credential-http-perl

How To Uninstall libcatalyst-authentication-credential-http-perl on Debian 10

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

sudo apt-get remove libcatalyst-authentication-credential-http-perl

Uninstall libcatalyst-authentication-credential-http-perl And Its Dependencies

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

sudo apt-get -y autoremove libcatalyst-authentication-credential-http-perl

Remove libcatalyst-authentication-credential-http-perl Configurations and Data

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

sudo apt-get -y purge libcatalyst-authentication-credential-http-perl

Remove libcatalyst-authentication-credential-http-perl configuration, data, and all of its dependencies

We can use the following command to remove libcatalyst-authentication-credential-http-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcatalyst-authentication-credential-http-perl

Dependencies

libcatalyst-authentication-credential-http-perl have the following dependencies:

References

Summary

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