How To Install python-inotify-examples.noarch on Amazon Linux 2

In this tutorial we learn how to install python-inotify-examples.noarch in Amazon Linux 2. python-inotify-examples.noarch is Examples for Python inotify module

Introduction

In this tutorial we learn how to install python-inotify-examples.noarch on Amazon Linux 2.

What is python-inotify-examples.noarch

This package includes some examples usage of the Python inotify module.

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

Install python-inotify-examples.noarch 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 python-inotify-examples.noarch using yum by running the following command:

sudo yum -y install python-inotify-examples.noarch

How To Uninstall python-inotify-examples.noarch on Amazon Linux 2

To uninstall only the python-inotify-examples.noarch package we can use the following command:

sudo yum remove python-inotify-examples.noarch

python-inotify-examples.noarch Package Contents on Amazon Linux 2

/usr/share/pyinotify
/usr/share/pyinotify/autocompile.py
/usr/share/pyinotify/autocompile.pyc
/usr/share/pyinotify/autocompile.pyo
/usr/share/pyinotify/chain.py
/usr/share/pyinotify/chain.pyc
/usr/share/pyinotify/chain.pyo
/usr/share/pyinotify/coalesce.py
/usr/share/pyinotify/coalesce.pyc
/usr/share/pyinotify/coalesce.pyo
/usr/share/pyinotify/daemon.py
/usr/share/pyinotify/daemon.pyc
/usr/share/pyinotify/daemon.pyo
/usr/share/pyinotify/exclude.lst
/usr/share/pyinotify/exclude.py
/usr/share/pyinotify/exclude.pyc
/usr/share/pyinotify/exclude.pyo
/usr/share/pyinotify/loop.py
/usr/share/pyinotify/loop.pyc
/usr/share/pyinotify/loop.pyo
/usr/share/pyinotify/not_quiet.py
/usr/share/pyinotify/not_quiet.pyc
/usr/share/pyinotify/not_quiet.pyo
/usr/share/pyinotify/stats.py
/usr/share/pyinotify/stats.pyc
/usr/share/pyinotify/stats.pyo
/usr/share/pyinotify/stats_threaded.py
/usr/share/pyinotify/stats_threaded.pyc
/usr/share/pyinotify/stats_threaded.pyo
/usr/share/pyinotify/tornado_notifier.py
/usr/share/pyinotify/tornado_notifier.pyc
/usr/share/pyinotify/tornado_notifier.pyo
/usr/share/pyinotify/transient_file.py
/usr/share/pyinotify/transient_file.pyc
/usr/share/pyinotify/transient_file.pyo
/usr/share/pyinotify/transient_file.sh
/usr/share/pyinotify/tutorial_asyncnotifier.py
/usr/share/pyinotify/tutorial_asyncnotifier.pyc
/usr/share/pyinotify/tutorial_asyncnotifier.pyo
/usr/share/pyinotify/tutorial_notifier.py
/usr/share/pyinotify/tutorial_notifier.pyc
/usr/share/pyinotify/tutorial_notifier.pyo
/usr/share/pyinotify/tutorial_threadednotifier.py
/usr/share/pyinotify/tutorial_threadednotifier.pyc
/usr/share/pyinotify/tutorial_threadednotifier.pyo
/usr/share/pyinotify/unicode.py
/usr/share/pyinotify/unicode.pyc
/usr/share/pyinotify/unicode.pyo

References

Summary

In this tutorial we learn how to install python-inotify-examples.noarch on Amazon Linux 2 using yum.