How To Install libauthen-passphrase-perl on Ubuntu 18.04

In this tutorial we learn how to install libauthen-passphrase-perl on Ubuntu 18.04. libauthen-passphrase-perl is Perl module encapsulating hashed passwords/passphrases as objects

Introduction

In this tutorial we learn how to install libauthen-passphrase-perl on Ubuntu 18.04.

What is libauthen-passphrase-perl

libauthen-passphrase-perl is:

Authen::Passphrase is the base class for a system of objects that encapsulate passphrases. An object of this type is a passphrase recogniser: its job is to recognise whether an offered passphrase is the right one. For security, such passphrase recognisers usually do not themselves know the passphrase they are looking for; they can merely recognise it when they see it. There are many schemes in use to achieve this effect, and the intent of this class is to provide a consistent interface to them all, hiding the details.

This package contains implementations of several specific passphrase schemes in addition to the base class.

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

sudo apt-get -y install libauthen-passphrase-perl

Install libauthen-passphrase-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libauthen-passphrase-perl using apt by running the following command:

sudo apt -y install libauthen-passphrase-perl

Install libauthen-passphrase-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 libauthen-passphrase-perl using aptitude by running the following command:

sudo aptitude -y install libauthen-passphrase-perl

How To Uninstall libauthen-passphrase-perl on Ubuntu 18.04

To uninstall only the libauthen-passphrase-perl package we can use the following command:

sudo apt-get remove libauthen-passphrase-perl

Uninstall libauthen-passphrase-perl And Its Dependencies

To uninstall libauthen-passphrase-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libauthen-passphrase-perl

Remove libauthen-passphrase-perl Configurations and Data

To remove libauthen-passphrase-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libauthen-passphrase-perl

Remove libauthen-passphrase-perl configuration, data, and all of its dependencies

We can use the following command to remove libauthen-passphrase-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libauthen-passphrase-perl

References

Summary

In this tutorial we learn how to install libauthen-passphrase-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.