Dependancies

  • Linux Kernel >= 2.6.13
  • Python >= 2.4 (CPython)
  • Libc >= 2.4
  • ctypes (included in Python 2.5 and installable from an external module for Python 2.4)

Install Pyinotify

# 1- Make sure "Easy Install" is installed:
$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ sudo python ez_setup.py
# 2- Install pyinotify:
$ sudo easy_install "http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=HEAD;sf=tgz"
# 3- Try to run pyinotify (it watch /tmp by default):
$ python -m pyinotify -v