How To Install perl-Text-Glob on Rocky Linux 8

In this tutorial we learn how to install perl-Text-Glob on Rocky Linux 8. perl-Text-Glob is Perl module to match globbing patterns against text

Introduction

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

What is perl-Text-Glob

Text against text, rather than fetching names from a file-system. If you want to do full file globbing use the File

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

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

sudo dnf -y install perl-Text-Glob

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

sudo yum -y install perl-Text-Glob

How To Uninstall perl-Text-Glob on Rocky Linux 8

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

sudo dnf remove perl-Text-Glob

perl-Text-Glob Package Contents on Rocky Linux 8

/usr/share/doc/perl-Text-Glob
/usr/share/doc/perl-Text-Glob/Changes
/usr/share/man/man3/Text::Glob.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Glob.pm

References

Summary

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