How To Install gamin on CentOS 8

gamin is Library providing the FAM File Alteration Monitor API Library providing the FAM File Alteration Monitor API

Introduction

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

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. gamin 0.1.10 32.el8 x86_64 128 k gamin-0.1.10-32.el8.src.rpm baseos Library providing the FAM File Alteration Monitor API http LGPLv2 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 8. In this tutorial we discuss both methods but you only need to choose one of method to install gamin.

Install gamin on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install gamin

Install gamin on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install gamin

How To Uninstall gamin on CentOS 8

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

sudo dnf remove gamin

gamin Package Contents on CentOS 8

/etc/gamin
/etc/gamin/gaminrc
/etc/gamin/mandatory_gaminrc
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/118ba8dd8b36522a94fd787bf717da7c364fcd
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/31d269d97c6477b82796fd4c01e50e31875955
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/789502fe704e02010ca0d529859a5a1c3b37a7
/usr/lib64/libfam.so.0
/usr/lib64/libfam.so.0.0.0
/usr/lib64/libgamin-1.so.0
/usr/lib64/libgamin-1.so.0.1.10
/usr/libexec/gam_server
/usr/share/doc/gamin
/usr/share/doc/gamin/AUTHORS
/usr/share/doc/gamin/ChangeLog
/usr/share/doc/gamin/FAQ.html
/usr/share/doc/gamin/NEWS
/usr/share/doc/gamin/README
/usr/share/doc/gamin/TODO
/usr/share/doc/gamin/callbacks.gif
/usr/share/doc/gamin/client_server.gif
/usr/share/doc/gamin/config.html
/usr/share/doc/gamin/contacts.html
/usr/share/doc/gamin/debug.html
/usr/share/doc/gamin/debugging.txt
/usr/share/doc/gamin/devel.html
/usr/share/doc/gamin/differences.html
/usr/share/doc/gamin/downloads.html
/usr/share/doc/gamin/gamin.html
/usr/share/doc/gamin/index.html
/usr/share/doc/gamin/internals.html
/usr/share/doc/gamin/news.html
/usr/share/doc/gamin/overview.html
/usr/share/doc/gamin/python.html
/usr/share/doc/gamin/security.html
/usr/share/doc/gamin/server_structs.gif
/usr/share/doc/gamin/socket.txt
/usr/share/doc/gamin/using.html
/usr/share/licenses/gamin
/usr/share/licenses/gamin/COPYING
/etc/gamin
/etc/gamin/gaminrc
/etc/gamin/mandatory_gaminrc
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/0c967460029fa33d1180817deec5aebe2b57f4
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/aaff3a445571d384669d665bd5d1932b239f4a
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/4e42f2e77c41f3bbd9b9ebf98d44fd7f4188b5
/usr/lib/libfam.so.0
/usr/lib/libfam.so.0.0.0
/usr/lib/libgamin-1.so.0
/usr/lib/libgamin-1.so.0.1.10
/usr/libexec/gam_server
/usr/share/doc/gamin
/usr/share/doc/gamin/AUTHORS
/usr/share/doc/gamin/ChangeLog
/usr/share/doc/gamin/FAQ.html
/usr/share/doc/gamin/NEWS
/usr/share/doc/gamin/README
/usr/share/doc/gamin/TODO
/usr/share/doc/gamin/callbacks.gif
/usr/share/doc/gamin/client_server.gif
/usr/share/doc/gamin/config.html
/usr/share/doc/gamin/contacts.html
/usr/share/doc/gamin/debug.html
/usr/share/doc/gamin/debugging.txt
/usr/share/doc/gamin/devel.html
/usr/share/doc/gamin/differences.html
/usr/share/doc/gamin/downloads.html
/usr/share/doc/gamin/gamin.html
/usr/share/doc/gamin/index.html
/usr/share/doc/gamin/internals.html
/usr/share/doc/gamin/news.html
/usr/share/doc/gamin/overview.html
/usr/share/doc/gamin/python.html
/usr/share/doc/gamin/security.html
/usr/share/doc/gamin/server_structs.gif
/usr/share/doc/gamin/socket.txt
/usr/share/doc/gamin/using.html
/usr/share/licenses/gamin
/usr/share/licenses/gamin/COPYING

References

Summary

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