How To Install gamin-python.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gamin-python.x86_64 in Amazon Linux 2. gamin-python.x86_64 is Python bindings for the gamin library

Introduction

In this tutorial we learn how to install gamin-python.x86_64 on Amazon Linux 2.

What is gamin-python.x86_64

The gamin-python package contains a module that allow monitoring of files and directories from the Python language based on the support of the gamin package.

We can use yum to install gamin-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gamin-python.x86_64.

Install gamin-python.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gamin-python.x86_64

How To Uninstall gamin-python.x86_64 on Amazon Linux 2

To uninstall only the gamin-python.x86_64 package we can use the following command:

sudo yum remove gamin-python.x86_64

gamin-python.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/_gamin.so
/usr/lib64/python2.7/site-packages/gamin.py
/usr/lib64/python2.7/site-packages/gamin.pyc
/usr/lib64/python2.7/site-packages/gamin.pyo
/usr/share/doc/gamin-python-0.1.10
/usr/share/doc/gamin-python-0.1.10/basic.py
/usr/share/doc/gamin-python-0.1.10/basic2.py
/usr/share/doc/gamin-python-0.1.10/basic3.py
/usr/share/doc/gamin-python-0.1.10/basic4.py
/usr/share/doc/gamin-python-0.1.10/basic5.py
/usr/share/doc/gamin-python-0.1.10/basic6.py
/usr/share/doc/gamin-python-0.1.10/bigfile.py
/usr/share/doc/gamin-python-0.1.10/dnotify.py
/usr/share/doc/gamin-python-0.1.10/dnotify10.py
/usr/share/doc/gamin-python-0.1.10/dnotify11.py
/usr/share/doc/gamin-python-0.1.10/dnotify12.py
/usr/share/doc/gamin-python-0.1.10/dnotify13.py
/usr/share/doc/gamin-python-0.1.10/dnotify15.py
/usr/share/doc/gamin-python-0.1.10/dnotify2.py
/usr/share/doc/gamin-python-0.1.10/dnotify3.py
/usr/share/doc/gamin-python-0.1.10/dnotify4.py
/usr/share/doc/gamin-python-0.1.10/dnotify5.py
/usr/share/doc/gamin-python-0.1.10/dnotify6.py
/usr/share/doc/gamin-python-0.1.10/dnotify7.py
/usr/share/doc/gamin-python-0.1.10/dnotify8.py
/usr/share/doc/gamin-python-0.1.10/dnotify9.py
/usr/share/doc/gamin-python-0.1.10/flood.py
/usr/share/doc/gamin-python-0.1.10/flood2.py
/usr/share/doc/gamin-python-0.1.10/flood3.py
/usr/share/doc/gamin-python-0.1.10/flood4.py
/usr/share/doc/gamin-python-0.1.10/level.py
/usr/share/doc/gamin-python-0.1.10/multiple.py
/usr/share/doc/gamin-python-0.1.10/multiple2.py
/usr/share/doc/gamin-python-0.1.10/multiple3.py
/usr/share/doc/gamin-python-0.1.10/noexists.py
/usr/share/doc/gamin-python-0.1.10/nokernel.py
/usr/share/doc/gamin-python-0.1.10/python.html
/usr/share/doc/gamin-python-0.1.10/readonly.py

References

Summary

In this tutorial we learn how to install gamin-python.x86_64 on Amazon Linux 2 using yum.