How To Install libemail-stuffer-perl on Ubuntu 18.04

In this tutorial we learn how to install libemail-stuffer-perl on Ubuntu 18.04. libemail-stuffer-perl is casual approach to creating and sending Email

Introduction

In this tutorial we learn how to install libemail-stuffer-perl on Ubuntu 18.04.

What is libemail-stuffer-perl

libemail-stuffer-perl is:

Email::Stuffer, as its name suggests, is a fairly casual module used to stuff things into an email and send them. It is a high-level module designed for ease of use when doing a very specific common task, but implemented on top of the light and tolerable Email:: modules.

Email::Stuffer is typically used to build emails and send them in a single statement, as seen in the synopsis. And it is certain only for use when creating and sending emails. As such, it contains no email parsing capability, and little to no modification support.

To re-iterate, this is very much a module for those “slap it together and fire it off” situations, but that still has enough grunt behind the scenes to do things properly.

The basics should all work, but this module is still subject to name and/or API changes

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

sudo apt-get -y install libemail-stuffer-perl

Install libemail-stuffer-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemail-stuffer-perl

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

sudo aptitude -y install libemail-stuffer-perl

How To Uninstall libemail-stuffer-perl on Ubuntu 18.04

To uninstall only the libemail-stuffer-perl package we can use the following command:

sudo apt-get remove libemail-stuffer-perl

Uninstall libemail-stuffer-perl And Its Dependencies

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

sudo apt-get -y autoremove libemail-stuffer-perl

Remove libemail-stuffer-perl Configurations and Data

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

sudo apt-get -y purge libemail-stuffer-perl

Remove libemail-stuffer-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libemail-stuffer-perl

References

Summary

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