How To Install perl-Email-Address-XS on AlmaLinux 8

In this tutorial we learn how to install perl-Email-Address-XS in AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove perl-Email-Address-XS

References

Summary

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