How To Install libemail-simple-perl on Kali Linux

In this tutorial we learn how to install libemail-simple-perl on Kali Linux. libemail-simple-perl is module to parse RFC2822 headers and message format

Introduction

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

What is libemail-simple-perl

libemail-simple-perl is:

Email::Simple is the first deliverable of the Perl Email Project, a reaction against the complexity and increasing bugginess of the Mail::* modules. In contrast, Email::* modules are meant to be simple to use and to maintain, pared to the bone, fast, minimal in their external dependencies, and correct.

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

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

Install libemail-simple-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemail-simple-perl

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

sudo aptitude -y install libemail-simple-perl

How To Uninstall libemail-simple-perl on Kali Linux

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

sudo apt-get remove libemail-simple-perl

Uninstall libemail-simple-perl And Its Dependencies

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

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

Remove libemail-simple-perl Configurations and Data

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

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

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

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

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

Dependencies

libemail-simple-perl have the following dependencies:

References

Summary

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