How To Install libdigest-md2-perl on Kali Linux

In this tutorial we learn how to install libdigest-md2-perl on Kali Linux. libdigest-md2-perl is MD2 Message Digest for Perl

Introduction

In this tutorial we learn how to install libdigest-md2-perl on Kali Linux.

What is libdigest-md2-perl

libdigest-md2-perl is:

The Digest::MD2 module allows you to use the RSA Data Security Inc. MD2 Message Digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 128-bit “fingerprint” or “message digest” of the input.

The Digest::MD2 programming interface is identical to the interface of Digest::MD5. MD2 is described in RFC 1115.

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

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

Install libdigest-md2-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdigest-md2-perl

Install libdigest-md2-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libdigest-md2-perl

How To Uninstall libdigest-md2-perl on Kali Linux

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

sudo apt-get remove libdigest-md2-perl

Uninstall libdigest-md2-perl And Its Dependencies

To uninstall libdigest-md2-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

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

Remove libdigest-md2-perl Configurations and Data

To remove libdigest-md2-perl configuration and data from Kali Linux we can use the following command:

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

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

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

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

Dependencies

libdigest-md2-perl have the following dependencies:

References

Summary

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