Sudo Certbot Command Not Found Linux2

I am following AWS Linux 2 documentation on setting up Lets Encrypt, but have ran into an issue and was hoping someone could help.

After Installing Cerbot:

sudo yum install -y certbot python2-certbot-apache

I try to run CertBot with the following command:

sudo certbot

I get the following error: sudo: certbot: command not found

Any ideas what I am doing wrong?


What was the output of the yum install command? Did it actually succeed?

Also the following:

rpm -qa | grep certbot

I checked the error during installation and I was running out of ram. Had to temporarily stop some services. Now its all good. Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.