Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Successfully installed amazon-efs-utils but cannot find it

$ sudo yum install -y amazon-efs-utils --verbose
Loading "extras_suggestions" plugin
Loading "langpacks" plugin
Loading "priorities" plugin
Loading "update-mood" plugin
Adding en_US to language list
Config time: 0.391
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
amzn2-core
pkgsack time: 0.052
Obs Init time: 0.172
Package amazon-efs-utils-1.29.1-1.amzn2.noarch already installed and latest version
Nothing to do


Installation of amazon-efs-utils seems to be successful as shown above.

But when I try to run the tool, I get this error:
$ sudo amazon-efs-utils
sudo: amazon-efs-utils: command not found


I am using Amazon Linux2 EC2 btw.
by

1 Answer

Bharatgxwzm
Ask rpm if the package is installed.
$ rpm -qa|grep amazon-efs-utils

If it is, check its contents.
$ rpm -ql amazon-efs-utils

Observe the package contents files. Also, understand that amazon-efs-utils adds some binaries prefixed by mount. Here is the output in an ec2 instance.
$ rpm -ql amazon-efs-utils.noarch
/etc/amazon/efs/efs-utils.conf
/etc/amazon/efs/efs-utils.crt
/sbin/mount.efs
/usr/bin/amazon-efs-mount-watchdog
/usr/lib/systemd/system/amazon-efs-mount-watchdog.service
/usr/share/man/man8/mount.efs.8.gz
/var/log/amazon
/var/log/amazon/efs

Login / Signup to Answer the Question.