How To Install perl-Email-Valid on CentOS 7

In this tutorial we learn how to install perl-Email-Valid on CentOS 7. perl-Email-Valid is Check validity of internet email address

Introduction

In this tutorial we learn how to install perl-Email-Valid on CentOS 7.

What is perl-Email-Valid

This module determines whether an email address is well-formed, and optionally, whether a mail host exists for the domain or whether the top level domain of the email address is valid.

We can use yum or dnf to install perl-Email-Valid on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Email-Valid.

Install perl-Email-Valid on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Email-Valid using yum by running the following command:

sudo yum -y install perl-Email-Valid

Install perl-Email-Valid on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Email-Valid using dnf by running the following command:

sudo dnf -y install perl-Email-Valid

How To Uninstall perl-Email-Valid on CentOS 7

To uninstall only the perl-Email-Valid package we can use the following command:

sudo dnf remove perl-Email-Valid

References

Summary

In this tutorial we learn how to install perl-Email-Valid on CentOS 7 using yum and dnf.