How To Install libmime-lite-html-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmime-lite-html-perl on Kali Linux.
What is libmime-lite-html-perl
libmime-lite-html-perl is:
Mime::Lite::Html provides an interface for sending message that supports HTML format and builds it for you. This is useful to transform HTML pages into MIME email like that:
- Get the page with LWP if needed
- Parse page to find included images and objects (gif, jpg, flash)
- Attach them to mail with proper header
- Include external CSS and Javascript files
- Replace relative urls with absolute ones
- Build the MIME email with any parts found
There are three methods to install libmime-lite-html-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-lite-html-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmime-lite-html-perl using apt-get by running the following command:
sudo apt-get -y install libmime-lite-html-perlInstall libmime-lite-html-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmime-lite-html-perl using apt by running the following command:
sudo apt -y install libmime-lite-html-perlInstall libmime-lite-html-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 updateAfter updating apt database, We can install libmime-lite-html-perl using aptitude by running the following command:
sudo aptitude -y install libmime-lite-html-perlHow To Uninstall libmime-lite-html-perl on Kali Linux
To uninstall only the libmime-lite-html-perl package we can use the following command:
sudo apt-get remove libmime-lite-html-perlUninstall libmime-lite-html-perl And Its Dependencies
To uninstall libmime-lite-html-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmime-lite-html-perlRemove libmime-lite-html-perl Configurations and Data
To remove libmime-lite-html-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmime-lite-html-perlRemove libmime-lite-html-perl configuration, data, and all of its dependencies
We can use the following command to remove libmime-lite-html-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmime-lite-html-perlDependencies
libmime-lite-html-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmime-lite-html-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.