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

In this tutorial we learn how to install perl-Mail-DKIM on Rocky Linux 8. perl-Mail-DKIM is Sign and verify Internet mail with DKIM/DomainKey signatures

Introduction

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

What is perl-Mail-DKIM

This module implements the various components of the DKIM and DomainKeys message-signing and verifying standards for Internet mail. It currently tries to implement RFC4871 (for DKIM) and RFC4870 (DomainKeys). It is required if you wish to enable DKIM checking in SpamAssassin via the Mail

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

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

sudo dnf -y install perl-Mail-DKIM

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

sudo yum -y install perl-Mail-DKIM

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

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

sudo dnf remove perl-Mail-DKIM

perl-Mail-DKIM Package Contents on Rocky Linux 8

/usr/share/doc/perl-Mail-DKIM
/usr/share/doc/perl-Mail-DKIM/ChangeLog
/usr/share/doc/perl-Mail-DKIM/Changes
/usr/share/doc/perl-Mail-DKIM/HACKING.DKIM
/usr/share/doc/perl-Mail-DKIM/README.md
/usr/share/doc/perl-Mail-DKIM/TODO
/usr/share/doc/perl-Mail-DKIM/arcsign.pl
/usr/share/doc/perl-Mail-DKIM/arcverify.pl
/usr/share/doc/perl-Mail-DKIM/dkimsign.pl
/usr/share/doc/perl-Mail-DKIM/dkimverify.pl
/usr/share/doc/perl-Mail-DKIM/doc
/usr/share/doc/perl-Mail-DKIM/doc/async_dns.txt
/usr/share/doc/perl-Mail-DKIM/doc/common_verification_problems.txt
/usr/share/doc/perl-Mail-DKIM/doc/dk_headers.txt
/usr/share/doc/perl-Mail-DKIM/doc/dkim_errata.txt
/usr/share/doc/perl-Mail-DKIM/doc/policies.txt
/usr/share/doc/perl-Mail-DKIM/doc/qp1.txt
/usr/share/doc/perl-Mail-DKIM/sample_mime_lite.pl
/usr/share/doc/perl-Mail-DKIM/test_bare_rsa_sha1.pl
/usr/share/doc/perl-Mail-DKIM/test_canonicalization.pl
/usr/share/doc/perl-Mail-DKIM/test_nowsp_rsa_sha1.pl
/usr/share/man/man3/Mail::DKIM.3pm.gz
/usr/share/man/man3/Mail::DKIM::ARC::MessageSignature.3pm.gz
/usr/share/man/man3/Mail::DKIM::ARC::Seal.3pm.gz
/usr/share/man/man3/Mail::DKIM::ARC::Signer.3pm.gz
/usr/share/man/man3/Mail::DKIM::ARC::Verifier.3pm.gz
/usr/share/man/man3/Mail::DKIM::Algorithm::Base.3pm.gz
/usr/share/man/man3/Mail::DKIM::AuthorDomainPolicy.3pm.gz
/usr/share/man/man3/Mail::DKIM::Canonicalization::Base.3pm.gz
/usr/share/man/man3/Mail::DKIM::Canonicalization::DkimCommon.3pm.gz
/usr/share/man/man3/Mail::DKIM::DNS.3pm.gz
/usr/share/man/man3/Mail::DKIM::DkPolicy.3pm.gz
/usr/share/man/man3/Mail::DKIM::DkSignature.3pm.gz
/usr/share/man/man3/Mail::DKIM::DkimPolicy.3pm.gz
/usr/share/man/man3/Mail::DKIM::Policy.3pm.gz
/usr/share/man/man3/Mail::DKIM::PrivateKey.3pm.gz
/usr/share/man/man3/Mail::DKIM::PublicKey.3pm.gz
/usr/share/man/man3/Mail::DKIM::Signature.3pm.gz
/usr/share/man/man3/Mail::DKIM::Signer.3pm.gz
/usr/share/man/man3/Mail::DKIM::SignerPolicy.3pm.gz
/usr/share/man/man3/Mail::DKIM::TextWrap.3pm.gz
/usr/share/man/man3/Mail::DKIM::Verifier.3pm.gz
/usr/share/perl5/vendor_perl/Mail
/usr/share/perl5/vendor_perl/Mail/DKIM
/usr/share/perl5/vendor_perl/Mail/DKIM.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/ARC
/usr/share/perl5/vendor_perl/Mail/DKIM/ARC/MessageSignature.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/ARC/Seal.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/ARC/Signer.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/ARC/Verifier.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Algorithm
/usr/share/perl5/vendor_perl/Mail/DKIM/Algorithm/Base.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Algorithm/dk_rsa_sha1.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Algorithm/rsa_sha1.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Algorithm/rsa_sha256.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/AuthorDomainPolicy.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/Base.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/DkCommon.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/DkimCommon.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/dk_nofws.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/dk_simple.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/nowsp.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/relaxed.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/seal.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Canonicalization/simple.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Common.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/DNS.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/DkPolicy.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/DkSignature.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/DkimPolicy.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Key.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/KeyValueList.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/MessageParser.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Policy.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/PrivateKey.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/PublicKey.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Signature.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Signer.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/SignerPolicy.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/TextWrap.pm
/usr/share/perl5/vendor_perl/Mail/DKIM/Verifier.pm

References

Summary

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