How To Install perl-Email-Address-XS on Rocky Linux 8

In this tutorial we learn how to install perl-Email-Address-XS on Rocky Linux 8. perl-Email-Address-XS is Parse and format RFC 2822 email addresses and groups

Introduction

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

What is perl-Email-Address-XS

This module implements RFC 2822 parser and formatter of email addresses and groups. It parses an input string from email headers which contain a list of email addresses or a groups of email addresses (like From, To, Cc, Bcc, Reply-To, Sender, …). Also it can generate a string value for those headers from a list of email addresses objects.

We can use yum or dnf to install perl-Email-Address-XS on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Email-Address-XS.

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

sudo dnf -y install perl-Email-Address-XS

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

sudo yum -y install perl-Email-Address-XS

How To Uninstall perl-Email-Address-XS on Rocky Linux 8

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

sudo dnf remove perl-Email-Address-XS

perl-Email-Address-XS Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/c655a6178930462328e1990fb4e55f00b2ac25
/usr/lib64/perl5/vendor_perl/Email
/usr/lib64/perl5/vendor_perl/Email/Address
/usr/lib64/perl5/vendor_perl/Email/Address/XS.pm
/usr/lib64/perl5/vendor_perl/auto/Email
/usr/lib64/perl5/vendor_perl/auto/Email/Address
/usr/lib64/perl5/vendor_perl/auto/Email/Address/XS
/usr/lib64/perl5/vendor_perl/auto/Email/Address/XS/XS.so
/usr/share/doc/perl-Email-Address-XS
/usr/share/doc/perl-Email-Address-XS/Changes
/usr/share/doc/perl-Email-Address-XS/README
/usr/share/man/man3/Email::Address::XS.3pm.gz

References

Summary

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