How To Install libemail-sender-transport-smtp-tls-perl on Debian 9

In this tutorial we learn how to install libemail-sender-transport-smtp-tls-perl on Debian 9. libemail-sender-transport-smtp-tls-perl is Perl module for sending email using TLS

Introduction

In this tutorial we learn how to install libemail-sender-transport-smtp-tls-perl on Debian 9.

What is libemail-sender-transport-smtp-tls-perl

libemail-sender-transport-smtp-tls-perl is:

Email::Sender replaces the old and sometimes problematic Email::Send library, while this module replaces the Email::Send::SMTP::TLS.

This module is depcrecated in favour of Email::Sender::Transport::SMTPS.

There are three methods to install libemail-sender-transport-smtp-tls-perl on Debian 9. 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-sender-transport-smtp-tls-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-sender-transport-smtp-tls-perl using apt-get by running the following command:

sudo apt-get -y install libemail-sender-transport-smtp-tls-perl

Install libemail-sender-transport-smtp-tls-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libemail-sender-transport-smtp-tls-perl using apt by running the following command:

sudo apt -y install libemail-sender-transport-smtp-tls-perl

Install libemail-sender-transport-smtp-tls-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libemail-sender-transport-smtp-tls-perl using aptitude by running the following command:

sudo aptitude -y install libemail-sender-transport-smtp-tls-perl

How To Uninstall libemail-sender-transport-smtp-tls-perl on Debian 9

To uninstall only the libemail-sender-transport-smtp-tls-perl package we can use the following command:

sudo apt-get remove libemail-sender-transport-smtp-tls-perl

Uninstall libemail-sender-transport-smtp-tls-perl And Its Dependencies

To uninstall libemail-sender-transport-smtp-tls-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libemail-sender-transport-smtp-tls-perl

Remove libemail-sender-transport-smtp-tls-perl Configurations and Data

To remove libemail-sender-transport-smtp-tls-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libemail-sender-transport-smtp-tls-perl

Remove libemail-sender-transport-smtp-tls-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libemail-sender-transport-smtp-tls-perl

Dependencies

libemail-sender-transport-smtp-tls-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libemail-sender-transport-smtp-tls-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.