How To Install libdigest-perl-md5-perl on Ubuntu 20.04

In this tutorial we learn how to install libdigest-perl-md5-perl on Ubuntu 20.04. libdigest-perl-md5-perl is Perl Implementation of Rivests MD5 algorithm

Introduction

In this tutorial we learn how to install libdigest-perl-md5-perl on Ubuntu 20.04.

What is libdigest-perl-md5-perl

libdigest-perl-md5-perl is:

Digest::Perl::MD5s has the same interface as the much faster Digest::MD5, but unlike that, it is not an interface but a Perl implementation of MD5. Because of this it is slow but it works without C-Code. You should use Digest::MD5 instead of this module if it is available. This module is only useful for

  • computers where you cannot install Digest::MD5 (e.g. lack of a C-Compiler)
  • encrypting only small amounts of data (less than one million bytes), e.g. hashing passwords
  • educational purposes

There are three methods to install libdigest-perl-md5-perl on Ubuntu 20.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 libdigest-perl-md5-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 libdigest-perl-md5-perl using apt-get by running the following command:

sudo apt-get -y install libdigest-perl-md5-perl

Install libdigest-perl-md5-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdigest-perl-md5-perl

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

sudo aptitude -y install libdigest-perl-md5-perl

How To Uninstall libdigest-perl-md5-perl on Ubuntu 20.04

To uninstall only the libdigest-perl-md5-perl package we can use the following command:

sudo apt-get remove libdigest-perl-md5-perl

Uninstall libdigest-perl-md5-perl And Its Dependencies

To uninstall libdigest-perl-md5-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libdigest-perl-md5-perl

Remove libdigest-perl-md5-perl Configurations and Data

To remove libdigest-perl-md5-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libdigest-perl-md5-perl

Remove libdigest-perl-md5-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdigest-perl-md5-perl

References

Summary

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