dehydrated command not found

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

Introduction

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

dehydrated: command not found

or when using sudo you get the following error message

sudo: dehydrated: command not found

Solutions to dehydrated: command not found

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

In Ubuntu dehydrated is provided by dehydrated package.

dehydrated is:

The dehydrated ACME client allows signing certificates with an ACME server, like the one provided by the Let’s Encrypt certificate authority (letsencrypt.org). It is implemented as a relatively simple Bash script, which uses curl to communicate with the ACME server and OpenSSL to deal with keys, sign requests and certificates.

The ACME (Automated Certificate Management Environment) protocol makes it possible to automatically obtain browser-trusted certificate.

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

sudo apt-get -y install dehydrated

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

You can also use apt command to install dehydrated.

sudo apt -y install dehydrated

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

sudo aptitude install dehydrated

Summary

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