acmetool command not found

In this troubleshooting guide we learn how to fix acmetool command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

acmetool: command not found

or when using sudo you get the following error message

sudo: acmetool: command not found

Solutions to acmetool: command not found

How To Fix acmetool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu acmetool is provided by acmetool package.

acmetool is:

acmetool is an easy-to-use command line tool for automatically acquiring TLS certificates from ACME (Automated Certificate Management Environment) servers such as Let’s Encrypt, designed to flexibly integrate into your webserver setup to enable automatic verification.

acmetool is designed to work like make: you specify what certificates you want, and acmetool obtains certificates as necessary to satisfy those requirements. If the requirements are already satisfied, acmetool doesn’t do anything when invoked. Thus, acmetool is ideally suited for use on a cron job; it will do nothing until certificates are near expiry, and then obtain new ones.

acmetool is designed to minimise the use of state and be transparent in the state that it does use. All state, including certificates, is stored in a single directory, by default /var/lib/acme. The schema for this directory is simple, comprehensible and documented.

To fix this problem, we can install more using the command below.

sudo apt-get -y install acmetool

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install acmetool.

sudo apt -y install acmetool

Or if you have aptitude installed you can use the following command.

sudo aptitude install acmetool

Summary

In this tutorial we learn how to fix acmetool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.