How To Install perl-Email-Valid on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install perl-Email-Valid on Rocky Linux 8.

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 Rocky Linux 8. 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Email-Valid

Install perl-Email-Valid on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Email-Valid

How To Uninstall perl-Email-Valid on Rocky Linux 8

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

sudo dnf remove perl-Email-Valid

perl-Email-Valid Package Contents on Rocky Linux 8

/usr/share/doc/perl-Email-Valid
/usr/share/doc/perl-Email-Valid/Changes
/usr/share/man/man3/Email::Valid.3pm.gz
/usr/share/perl5/vendor_perl/Email
/usr/share/perl5/vendor_perl/Email/Valid.pm

References

Summary

In this tutorial we learn how to install perl-Email-Valid on Rocky Linux 8 using yum and dnf.