dnscrypt-proxy command not found

In this troubleshooting guide we learn how to fix dnscrypt-proxy command not found error message

Introduction

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

dnscrypt-proxy: command not found

or when using sudo you get the following error message

sudo: dnscrypt-proxy: command not found

Solutions to dnscrypt-proxy: command not found

How To Fix dnscrypt-proxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dnscrypt-proxy is provided by dnscrypt-proxy package.

dnscrypt-proxy is:

dnscrypt-proxy is a flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTPS.

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

sudo apt-get -y install dnscrypt-proxy

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

You can also use apt command to install dnscrypt-proxy.

sudo apt -y install dnscrypt-proxy

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

sudo aptitude install dnscrypt-proxy

Summary

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