Cannot install inotify on Amazon EC2

marvinv picture marvinv · Nov 20, 2014 · Viewed 7.3k times · Source

I have an AWS EC2 instance and wants to install inotify-tools. I've added the repository by executing the command: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm then execute yum install inotify-tools but getting No package inotify-tools available.

Please help

Answer

Neal Magee picture Neal Magee · Feb 5, 2015

I bumped into this issue as well -- it's a bit easier than grabbing an RPM or the source and compiling.

The Amazon Linux AMI comes with the EPEL repository source, but it's disabled. So to enable it:

 sudo yum-config-manager --enable epel

Then run a regular yum update and install the toolset:

 sudo yum update
 sudo yum install inotify-tools