How To Install perl-File-Share on Rocky Linux 8

In this tutorial we learn how to install perl-File-Share on Rocky Linux 8. perl-File-Share is Extend File

Introduction

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

What is perl-File-Share

This module is a drop-in replacement for File dist_dir and dist_file functions, except these functions have been enhanced to understand when the developer’s local ./share/ directory should be used.

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

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

sudo dnf -y install perl-File-Share

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

sudo yum -y install perl-File-Share

How To Uninstall perl-File-Share on Rocky Linux 8

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

sudo dnf remove perl-File-Share

perl-File-Share Package Contents on Rocky Linux 8

/usr/share/doc/perl-File-Share
/usr/share/doc/perl-File-Share/CONTRIBUTING
/usr/share/doc/perl-File-Share/Changes
/usr/share/doc/perl-File-Share/README
/usr/share/licenses/perl-File-Share
/usr/share/licenses/perl-File-Share/LICENSE
/usr/share/man/man3/File::Share.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/Share.pm
/usr/share/perl5/vendor_perl/File/Share.pod

References

Summary

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