lecm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lecm: command not found
or when using sudo you get the following error message
sudo: lecm: command not found
Solutions to lecm: command not found
How To Fix lecm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lecm is provided by lecm package.
lecm is:
Let’s Encrypt Certificates Manager (lecm) is an utility that allows one to manage (generate and renew) Let’s Encrypt SSL certificates.
lecm can be placed in a cron to automatically renew lecm’s managed certificates according to a threshold; during the renewal operations lecm is also able to restart the web server.
lecm take a yaml style configuration (default to /etc/lecm.conf), parameter can be declared for all managed certificates or individually.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lecm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lecm.
sudo apt -y install lecm
Or if you have aptitude installed you can use the following command.
sudo aptitude install lecm
Summary
In this tutorial we learn how to fix lecm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.