How To Install libmime-tools-perl on Kali Linux

In this tutorial we learn how to install libmime-tools-perl on Kali Linux. libmime-tools-perl is Perl5 modules for MIME-compliant messages

Introduction

In this tutorial we learn how to install libmime-tools-perl on Kali Linux.

What is libmime-tools-perl

libmime-tools-perl is:

This package provides the MIME-tools modules. MIME::Tools is a collection of Perl5 MIME:: modules for parsing, decoding, and generating single- or multipart (even nested multipart) MIME messages.

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

sudo apt-get -y install libmime-tools-perl

Install libmime-tools-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmime-tools-perl

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

sudo aptitude -y install libmime-tools-perl

How To Uninstall libmime-tools-perl on Kali Linux

To uninstall only the libmime-tools-perl package we can use the following command:

sudo apt-get remove libmime-tools-perl

Uninstall libmime-tools-perl And Its Dependencies

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

sudo apt-get -y autoremove libmime-tools-perl

Remove libmime-tools-perl Configurations and Data

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

sudo apt-get -y purge libmime-tools-perl

Remove libmime-tools-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmime-tools-perl

Dependencies

libmime-tools-perl have the following dependencies:

References

Summary

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