How To Install watchman on Fedora 36

In this tutorial we learn how to install watchman in Fedora 36. watchman is File alteration monitoring service

Introduction

In this tutorial we learn how to install watchman on Fedora 36.

What is watchman

Watchman exists to watch files and record when they actually change. It can also trigger actions (such as rebuilding assets) when matching files change.

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

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

sudo dnf -y install watchman

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

sudo yum -y install watchman

How To Uninstall watchman on Fedora 36

To uninstall only the watchman package we can use the following command:

sudo dnf remove watchman

watchman Package Contents on Fedora 36

/usr/bin/watchman
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/365e23c756dd82bab235c4e46b15f720131f26
/usr/lib/tmpfiles.d/watchman.conf
/usr/share/doc/watchman
/usr/share/doc/watchman/CODE_OF_CONDUCT.md
/usr/share/doc/watchman/README.markdown
/usr/share/licenses/watchman
/usr/share/licenses/watchman/LICENSE
/var/run/watchman

References

Summary

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