Unable to install inotify on Amazon EC2

I have an AWS EC2 instance and want to install the inotify tools. I added the repository by running the command: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm , then run yum install inotify-tools, but not Get No inotify-tools available.

Please, help

+8
amazon-ec2 inotify yum inotifywait
source share
2 answers

I also ran into this problem - it's a little easier than grabbing RPM or source code and compiling.

Amazon Linux AMI ships with the EPEL storage source, but it is disabled. So, to enable it:

sudo yum-config-manager --enable epel 

Then run regular yum update and install the toolbox:

  sudo yum update sudo yum install inotify-tools 
+16
source share

How do I enable the EPEL repository for my Amazon EC2 instance running CentOS, RHEL, or Amazon Linux?

Install and enable the EPEL rpm package on RHEL 7 and Amazon Linux 2

 sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
0
source share

All Articles