How To Install perl-File-Find-Rule on Rocky Linux 8

In this tutorial we learn how to install perl-File-Find-Rule on Rocky Linux 8. perl-File-Find-Rule is Perl module implementing an alternative interface to File

Introduction

In this tutorial we learn how to install perl-File-Find-Rule on Rocky Linux 8.

What is perl-File-Find-Rule

File you to build rules which specify the desired files and directories.

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

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

sudo dnf -y install perl-File-Find-Rule

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

sudo yum -y install perl-File-Find-Rule

How To Uninstall perl-File-Find-Rule on Rocky Linux 8

To uninstall only the perl-File-Find-Rule package we can use the following command:

sudo dnf remove perl-File-Find-Rule

perl-File-Find-Rule Package Contents on Rocky Linux 8

/usr/bin/findrule
/usr/share/doc/perl-File-Find-Rule
/usr/share/doc/perl-File-Find-Rule/Changes
/usr/share/man/man1/findrule.1.gz
/usr/share/man/man3/File::Find::Rule.3pm.gz
/usr/share/man/man3/File::Find::Rule::Extending.3pm.gz
/usr/share/man/man3/File::Find::Rule::Procedural.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/Find
/usr/share/perl5/vendor_perl/File/Find/Rule
/usr/share/perl5/vendor_perl/File/Find/Rule.pm
/usr/share/perl5/vendor_perl/File/Find/Rule/Extending.pod
/usr/share/perl5/vendor_perl/File/Find/Rule/Procedural.pod

References

Summary

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