How To Install libmsdw-smtp-perl on Ubuntu 18.04

In this tutorial we learn how to install libmsdw-smtp-perl on Ubuntu 18.04. libmsdw-smtp-perl is SMTP Client/Server modules from smtpprox

Introduction

In this tutorial we learn how to install libmsdw-smtp-perl on Ubuntu 18.04.

What is libmsdw-smtp-perl

libmsdw-smtp-perl is:

Includes the Client.pm and Server.pm SMTP modules from smtpprox at http://bent.latency.net/smtpprox/ with Debian enhancements.

These modules are designed to expose every step of the protocol dialogue to the calling program, which provides for the greatest flexibility in hooking in envelope and content controls and scanning.

There are three methods to install libmsdw-smtp-perl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmsdw-smtp-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 libmsdw-smtp-perl using apt-get by running the following command:

sudo apt-get -y install libmsdw-smtp-perl

Install libmsdw-smtp-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmsdw-smtp-perl

Install libmsdw-smtp-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libmsdw-smtp-perl using aptitude by running the following command:

sudo aptitude -y install libmsdw-smtp-perl

How To Uninstall libmsdw-smtp-perl on Ubuntu 18.04

To uninstall only the libmsdw-smtp-perl package we can use the following command:

sudo apt-get remove libmsdw-smtp-perl

Uninstall libmsdw-smtp-perl And Its Dependencies

To uninstall libmsdw-smtp-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libmsdw-smtp-perl

Remove libmsdw-smtp-perl Configurations and Data

To remove libmsdw-smtp-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmsdw-smtp-perl

Remove libmsdw-smtp-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmsdw-smtp-perl

References

Summary

In this tutorial we learn how to install libmsdw-smtp-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.