How To Install perl-MailTools on Rocky Linux 8

In this tutorial we learn how to install perl-MailTools on Rocky Linux 8. perl-MailTools is Various ancient mail-related perl modules

Introduction

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

What is perl-MailTools

MailTools is a set of ancient Perl modules related to mail applications.

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

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

sudo dnf -y install perl-MailTools

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

sudo yum -y install perl-MailTools

How To Uninstall perl-MailTools on Rocky Linux 8

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

sudo dnf remove perl-MailTools

perl-MailTools Package Contents on Rocky Linux 8

/usr/share/doc/perl-MailTools
/usr/share/doc/perl-MailTools/ChangeLog
/usr/share/doc/perl-MailTools/README
/usr/share/doc/perl-MailTools/README.demos
/usr/share/doc/perl-MailTools/README.md
/usr/share/doc/perl-MailTools/examples
/usr/share/doc/perl-MailTools/examples/forwd_demo
/usr/share/doc/perl-MailTools/examples/mail-mailer.pl
/usr/share/doc/perl-MailTools/examples/rplyto_demo
/usr/share/doc/perl-MailTools/examples/send_demo
/usr/share/man/man3/Mail::Address.3pm.gz
/usr/share/man/man3/Mail::Cap.3pm.gz
/usr/share/man/man3/Mail::Field.3pm.gz
/usr/share/man/man3/Mail::Field::AddrList.3pm.gz
/usr/share/man/man3/Mail::Field::Date.3pm.gz
/usr/share/man/man3/Mail::Field::Generic.3pm.gz
/usr/share/man/man3/Mail::Filter.3pm.gz
/usr/share/man/man3/Mail::Header.3pm.gz
/usr/share/man/man3/Mail::Internet.3pm.gz
/usr/share/man/man3/Mail::Mailer.3pm.gz
/usr/share/man/man3/Mail::Send.3pm.gz
/usr/share/man/man3/Mail::Util.3pm.gz
/usr/share/man/man3/MailTools.3pm.gz
/usr/share/perl5/vendor_perl/Mail
/usr/share/perl5/vendor_perl/Mail/Address.pm
/usr/share/perl5/vendor_perl/Mail/Address.pod
/usr/share/perl5/vendor_perl/Mail/Cap.pm
/usr/share/perl5/vendor_perl/Mail/Cap.pod
/usr/share/perl5/vendor_perl/Mail/Field
/usr/share/perl5/vendor_perl/Mail/Field.pm
/usr/share/perl5/vendor_perl/Mail/Field.pod
/usr/share/perl5/vendor_perl/Mail/Field/AddrList.pm
/usr/share/perl5/vendor_perl/Mail/Field/AddrList.pod
/usr/share/perl5/vendor_perl/Mail/Field/Date.pm
/usr/share/perl5/vendor_perl/Mail/Field/Date.pod
/usr/share/perl5/vendor_perl/Mail/Field/Generic.pm
/usr/share/perl5/vendor_perl/Mail/Field/Generic.pod
/usr/share/perl5/vendor_perl/Mail/Filter.pm
/usr/share/perl5/vendor_perl/Mail/Filter.pod
/usr/share/perl5/vendor_perl/Mail/Header.pm
/usr/share/perl5/vendor_perl/Mail/Header.pod
/usr/share/perl5/vendor_perl/Mail/Internet.pm
/usr/share/perl5/vendor_perl/Mail/Internet.pod
/usr/share/perl5/vendor_perl/Mail/Mailer
/usr/share/perl5/vendor_perl/Mail/Mailer.pm
/usr/share/perl5/vendor_perl/Mail/Mailer.pod
/usr/share/perl5/vendor_perl/Mail/Mailer/qmail.pm
/usr/share/perl5/vendor_perl/Mail/Mailer/rfc822.pm
/usr/share/perl5/vendor_perl/Mail/Mailer/sendmail.pm
/usr/share/perl5/vendor_perl/Mail/Mailer/smtp.pm
/usr/share/perl5/vendor_perl/Mail/Mailer/smtps.pm
/usr/share/perl5/vendor_perl/Mail/Mailer/testfile.pm
/usr/share/perl5/vendor_perl/Mail/Send.pm
/usr/share/perl5/vendor_perl/Mail/Send.pod
/usr/share/perl5/vendor_perl/Mail/Util.pm
/usr/share/perl5/vendor_perl/Mail/Util.pod
/usr/share/perl5/vendor_perl/MailTools.pm
/usr/share/perl5/vendor_perl/MailTools.pod

References

Summary

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