How To Install libemail-date-perl on Kali Linux

In this tutorial we learn how to install libemail-date-perl on Kali Linux. libemail-date-perl is Perl module for correct formatting of dates in emails

Introduction

In this tutorial we learn how to install libemail-date-perl on Kali Linux.

What is libemail-date-perl

libemail-date-perl is:

RFC 2822 defines the Date: header. It declares the header a required part of an email message. The syntax for date headers is clearly laid out. Still, even a perfectly planned world has storms. The truth is, many programs get it wrong. Very wrong. Or, they don’t include a Date: header at all. This often forces you to look elsewhere for the date, and hoping to find something.

For this reason, the tedious process of looking for a valid date has been encapsulated in this software. Further, the process of creating RFC compliant date strings is also found in this software.

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

sudo apt-get -y install libemail-date-perl

Install libemail-date-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemail-date-perl

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

sudo aptitude -y install libemail-date-perl

How To Uninstall libemail-date-perl on Kali Linux

To uninstall only the libemail-date-perl package we can use the following command:

sudo apt-get remove libemail-date-perl

Uninstall libemail-date-perl And Its Dependencies

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

sudo apt-get -y autoremove libemail-date-perl

Remove libemail-date-perl Configurations and Data

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

sudo apt-get -y purge libemail-date-perl

Remove libemail-date-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libemail-date-perl

Dependencies

libemail-date-perl have the following dependencies:

References

Summary

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