How To Install perl-Parse-Gitignore on Fedora 36

In this tutorial we learn how to install perl-Parse-Gitignore in Fedora 36. perl-Parse-Gitignore is Parse a .gitignore file

Introduction

In this tutorial we learn how to install perl-Parse-Gitignore on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).