How To Install lua-inotify on Fedora 36

In this tutorial we learn how to install lua-inotify in Fedora 36. lua-inotify is Inotify bindings for Lua

Introduction

In this tutorial we learn how to install lua-inotify on Fedora 36.

What is lua-inotify

This is linotify, a binding for Linux’s inotify library to Lua.

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

Install lua-inotify 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 lua-inotify using dnf by running the following command:

sudo dnf -y install lua-inotify

Install lua-inotify 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 lua-inotify using yum by running the following command:

sudo yum -y install lua-inotify

How To Uninstall lua-inotify on Fedora 36

To uninstall only the lua-inotify package we can use the following command:

sudo dnf remove lua-inotify

lua-inotify Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/825625eee26d53a64d68cc8800b31093338a1c
/usr/lib64/lua/5.4/inotify.so
/usr/share/doc/lua-inotify
/usr/share/doc/lua-inotify/Changes
/usr/share/doc/lua-inotify/README.md
/usr/share/licenses/lua-inotify
/usr/share/licenses/lua-inotify/COPYRIGHT

References

Summary

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