How To Install libpbkdf2-tiny-perl on Ubuntu 18.04

In this tutorial we learn how to install libpbkdf2-tiny-perl on Ubuntu 18.04. libpbkdf2-tiny-perl is Minimalist PBKDF2 (RFC 2898) with HMAC-SHA1 or HMAC-SHA2

Introduction

In this tutorial we learn how to install libpbkdf2-tiny-perl on Ubuntu 18.04.

What is libpbkdf2-tiny-perl

libpbkdf2-tiny-perl is:

PBKDF2::Tiny provides a minimal PBKDF2 implementation using HMAC-SHA1 or HMAC-SHA2 in under 100 lines of code. It requires no modules other than core for versions of Perl greater than 5.10.

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

sudo apt-get -y install libpbkdf2-tiny-perl

Install libpbkdf2-tiny-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpbkdf2-tiny-perl

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

sudo aptitude -y install libpbkdf2-tiny-perl

How To Uninstall libpbkdf2-tiny-perl on Ubuntu 18.04

To uninstall only the libpbkdf2-tiny-perl package we can use the following command:

sudo apt-get remove libpbkdf2-tiny-perl

Uninstall libpbkdf2-tiny-perl And Its Dependencies

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

sudo apt-get -y autoremove libpbkdf2-tiny-perl

Remove libpbkdf2-tiny-perl Configurations and Data

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

sudo apt-get -y purge libpbkdf2-tiny-perl

Remove libpbkdf2-tiny-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpbkdf2-tiny-perl

References

Summary

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