How To Install libemail-valid-loose-perl on Debian 9

In this tutorial we learn how to install libemail-valid-loose-perl on Debian 9. libemail-valid-loose-perl is Email

Introduction

In this tutorial we learn how to install libemail-valid-loose-perl on Debian 9.

What is libemail-valid-loose-perl

libemail-valid-loose-perl is:

Email::Valid::Loose is a subclass of Email::Valid, which allows dot (.) immediately before at-mark (@). It is invalid in RFC822, but is commonly used in some of mobile phone addresses in Japan (like docomo.ne.jp or jp-t.ne.jp).

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

sudo apt-get -y install libemail-valid-loose-perl

Install libemail-valid-loose-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemail-valid-loose-perl

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

sudo aptitude -y install libemail-valid-loose-perl

How To Uninstall libemail-valid-loose-perl on Debian 9

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

sudo apt-get remove libemail-valid-loose-perl

Uninstall libemail-valid-loose-perl And Its Dependencies

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

sudo apt-get -y autoremove libemail-valid-loose-perl

Remove libemail-valid-loose-perl Configurations and Data

To remove libemail-valid-loose-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libemail-valid-loose-perl

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

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

sudo apt-get -y autoremove --purge libemail-valid-loose-perl

Dependencies

libemail-valid-loose-perl have the following dependencies:

References

Summary

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