How To Install perl-Email-Simple on CentOS 7

In this tutorial we learn how to install perl-Email-Simple on CentOS 7. perl-Email-Simple is Simple parsing of RFC2822 message format and headers

Introduction

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

What is perl-Email-Simple

“Email Project”, a reaction against the complexity and increasing bugginess of the “Mail modules are meant to be simple to use and to maintain, pared to the bone, fast, minimal in their external dependencies, and correct.

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

Install perl-Email-Simple 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-Simple using yum by running the following command:

sudo yum -y install perl-Email-Simple

Install perl-Email-Simple 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-Simple using dnf by running the following command:

sudo dnf -y install perl-Email-Simple

How To Uninstall perl-Email-Simple on CentOS 7

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

sudo dnf remove perl-Email-Simple

References

Summary

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