How To Install perl-Parse-Gitignore on Rocky Linux 8

In this tutorial we learn how to install perl-Parse-Gitignore on Rocky Linux 8. perl-Parse-Gitignore is Parse a .gitignore file

Introduction

In this tutorial we learn how to install perl-Parse-Gitignore on Rocky Linux 8.

What is perl-Parse-Gitignore

Parse a .gitignore file and check whether a file matches it.

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

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

sudo dnf -y install perl-Parse-Gitignore

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

sudo yum -y install perl-Parse-Gitignore

How To Uninstall perl-Parse-Gitignore on Rocky Linux 8

To uninstall only the perl-Parse-Gitignore package we can use the following command:

sudo dnf remove perl-Parse-Gitignore

perl-Parse-Gitignore Package Contents on Rocky Linux 8

/usr/share/doc/perl-Parse-Gitignore
/usr/share/doc/perl-Parse-Gitignore/Changes
/usr/share/doc/perl-Parse-Gitignore/README
/usr/share/man/man3/Parse::Gitignore.3pm.gz
/usr/share/perl5/vendor_perl/Parse
/usr/share/perl5/vendor_perl/Parse/Gitignore.pm
/usr/share/perl5/vendor_perl/Parse/Gitignore.pod

References

Summary

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