How To Install libmail-sendmail-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmail-sendmail-perl
on Kali Linux.
What is libmail-sendmail-perl
libmail-sendmail-perl is:
Mail::Sendmail is intended to be a very simple and easy-to-setup and -use platform-independent e-mail module. It only requires Perl 5, Sys::Hostname::Long, and a network connection.
There are three methods to install libmail-sendmail-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 libmail-sendmail-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 libmail-sendmail-perl
using apt-get
by running the following command:
sudo apt-get -y install libmail-sendmail-perl
Install libmail-sendmail-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmail-sendmail-perl
using apt
by running the following command:
sudo apt -y install libmail-sendmail-perl
Install libmail-sendmail-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 libmail-sendmail-perl
using aptitude
by running the following command:
sudo aptitude -y install libmail-sendmail-perl
How To Uninstall libmail-sendmail-perl on Kali Linux
To uninstall only the libmail-sendmail-perl
package we can use the following command:
sudo apt-get remove libmail-sendmail-perl
Uninstall libmail-sendmail-perl And Its Dependencies
To uninstall libmail-sendmail-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmail-sendmail-perl
Remove libmail-sendmail-perl Configurations and Data
To remove libmail-sendmail-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmail-sendmail-perl
Remove libmail-sendmail-perl configuration, data, and all of its dependencies
We can use the following command to remove libmail-sendmail-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmail-sendmail-perl
Dependencies
libmail-sendmail-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmail-sendmail-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.