How To Install perl-Linux-Inotify2 on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install perl-Linux-Inotify2 on AlmaLinux 8.

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 AlmaLinux 8. 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 AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove perl-Linux-Inotify2

References

Summary

In this tutorial we learn how to install perl-Linux-Inotify2 on AlmaLinux 8 using yum and dnf.