How To Install libemail-mime-kit-perl on Kali Linux

In this tutorial we learn how to install libemail-mime-kit-perl on Kali Linux. libemail-mime-kit-perl is module to build complete email messages from templates

Introduction

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

What is libemail-mime-kit-perl

libemail-mime-kit-perl is:

Email::MIME::Kit is a templating system for email messages. Instead of trying to be yet another templating system for chunks of text, it makes it easy to build complete email messages.

It handles the construction of multipart messages, text and HTML alternatives, attachments, interpart linking, string encoding, and parameter validation.

Although nearly every part of Email::MIME::Kit is a replaceable component, the stock configuration is probably enough for most use. A message kit will be stored as a directory that might look like this:

sample.mkit/

manifest.json

body.txt

body.html

logo.jpg

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

sudo apt-get -y install libemail-mime-kit-perl

Install libemail-mime-kit-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemail-mime-kit-perl

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

sudo aptitude -y install libemail-mime-kit-perl

How To Uninstall libemail-mime-kit-perl on Kali Linux

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

sudo apt-get remove libemail-mime-kit-perl

Uninstall libemail-mime-kit-perl And Its Dependencies

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

sudo apt-get -y autoremove libemail-mime-kit-perl

Remove libemail-mime-kit-perl Configurations and Data

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

sudo apt-get -y purge libemail-mime-kit-perl

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

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

sudo apt-get -y autoremove --purge libemail-mime-kit-perl

Dependencies

libemail-mime-kit-perl have the following dependencies:

References

Summary

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