How To Install ghc-hinotify on Fedora 36

In this tutorial we learn how to install ghc-hinotify in Fedora 36. ghc-hinotify is Haskell binding to inotify

Introduction

In this tutorial we learn how to install ghc-hinotify on Fedora 36.

What is ghc-hinotify

This library provides a wrapper to the Linux Kernel’s inotify feature, allowing applications to subscribe to notifications when a file is accessed or modified.

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

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

sudo dnf -y install ghc-hinotify

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

sudo yum -y install ghc-hinotify

How To Uninstall ghc-hinotify on Fedora 36

To uninstall only the ghc-hinotify package we can use the following command:

sudo dnf remove ghc-hinotify

ghc-hinotify Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/8df5ef17c8a468fab8b81fadddf869af1e4438
/usr/lib64/libHShinotify-0.4.1-Hv4kWwfxHtP6GKkj7GCTYR-ghc8.10.5.so
/usr/share/licenses/ghc-hinotify
/usr/share/licenses/ghc-hinotify/LICENSE

References

Summary

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