How To Install perl-Mail-Sender on Rocky Linux 8

In this tutorial we learn how to install perl-Mail-Sender on Rocky Linux 8. perl-Mail-Sender is Module for sending mails with attachments through an SMTP server

Introduction

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

What is perl-Mail-Sender

Module for sending mails with attachments through an SMTP server.

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

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

sudo dnf -y install perl-Mail-Sender

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

sudo yum -y install perl-Mail-Sender

How To Uninstall perl-Mail-Sender on Rocky Linux 8

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

sudo dnf remove perl-Mail-Sender

perl-Mail-Sender Package Contents on Rocky Linux 8

/usr/share/doc/perl-Mail-Sender
/usr/share/doc/perl-Mail-Sender/Changes
/usr/share/doc/perl-Mail-Sender/README
/usr/share/man/man3/Mail::Sender.3pm.gz
/usr/share/man/man3/Mail::Sender::CType::Ext.3pm.gz
/usr/share/man/man3/Mail::Sender::CType::Win32.3pm.gz
/usr/share/perl5/vendor_perl/Mail
/usr/share/perl5/vendor_perl/Mail/Sender
/usr/share/perl5/vendor_perl/Mail/Sender.pm
/usr/share/perl5/vendor_perl/Mail/Sender/CType
/usr/share/perl5/vendor_perl/Mail/Sender/CType/Ext.pm

References

Summary

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