certbot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
certbot: command not found
or when using sudo you get the following error message
sudo: certbot: command not found
Solutions to certbot: command not found
How To Fix certbot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu certbot is provided by certbot package.
certbot is:
The objective of Certbot, Let’s Encrypt, and the ACME (Automated Certificate Management Environment) protocol is to make it possible to set up an HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention. This is accomplished by running a certificate management agent on the web server.
This agent is used to:
- Automatically prove to the Let’s Encrypt CA that you control the website
- Obtain a browser-trusted certificate and set it up on your web server
- Keep track of when your certificate is going to expire, and renew it
- Help you revoke the certificate if that ever becomes necessary.
This package contains the main application, including the standalone and the manual authenticators.
To fix this problem, we can install more using the command below.
sudo apt-get -y install certbot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install certbot.
sudo apt -y install certbot
Or if you have aptitude installed you can use the following command.
sudo aptitude install certbot
Summary
In this tutorial we learn how to fix certbot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.