How To Install perl-Linux-Inotify2 on Fedora 36

In this tutorial we learn how to install perl-Linux-Inotify2 in Fedora 36. perl-Linux-Inotify2 is Scalable directory/file change notification

Introduction

In this tutorial we learn how to install perl-Linux-Inotify2 on Fedora 36.

What is perl-Linux-Inotify2

This module implements an interface to the Linux 2.6.13+ Inotify file/directory change notification system. It has a number of advantages over the Linux - it is portable (Linux - the equivalent of full name works correctly - it is better documented - it has callback-style interface, which is better suited for integration.

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

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

sudo dnf -y install perl-Linux-Inotify2

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

sudo yum -y install perl-Linux-Inotify2

How To Uninstall perl-Linux-Inotify2 on Fedora 36

To uninstall only the perl-Linux-Inotify2 package we can use the following command:

sudo dnf remove perl-Linux-Inotify2

perl-Linux-Inotify2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/121e62acb8f023467b3b913bc7eda69723e73c
/usr/lib64/perl5/vendor_perl/Linux
/usr/lib64/perl5/vendor_perl/Linux/Inotify2.pm
/usr/lib64/perl5/vendor_perl/auto/Linux
/usr/lib64/perl5/vendor_perl/auto/Linux/Inotify2
/usr/lib64/perl5/vendor_perl/auto/Linux/Inotify2/Inotify2.so
/usr/share/doc/perl-Linux-Inotify2
/usr/share/doc/perl-Linux-Inotify2/Changes
/usr/share/doc/perl-Linux-Inotify2/README
/usr/share/doc/perl-Linux-Inotify2/eg
/usr/share/doc/perl-Linux-Inotify2/eg/event
/usr/share/doc/perl-Linux-Inotify2/eg/simple
/usr/share/licenses/perl-Linux-Inotify2
/usr/share/licenses/perl-Linux-Inotify2/COPYING
/usr/share/man/man3/Linux::Inotify2.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Linux-Inotify2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).