How To Install gamin on CentOS 7

In this tutorial we learn how to install gamin on CentOS 7. gamin is Library providing the FAM File Alteration Monitor API

Introduction

In this tutorial we learn how to install gamin on CentOS 7.

What is gamin

This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM but not dependent on a system wide daemon. This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM but not dependent on a system wide daemon.

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

Install gamin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gamin using yum by running the following command:

sudo yum -y install gamin

Install gamin on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gamin using dnf by running the following command:

sudo dnf -y install gamin

How To Uninstall gamin on CentOS 7

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

sudo dnf remove gamin

References

Summary

In this tutorial we learn how to install gamin on CentOS 7 using yum and dnf.