stubby command not found

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

Introduction

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

stubby: command not found

or when using sudo you get the following error message

sudo: stubby: command not found

Solutions to stubby: command not found

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

In Ubuntu stubby is provided by stubby package.

stubby is:

getdns is a modern asynchronous DNS API. It implements DNS entry points from a design developed and vetted by application developers, in an API specification edited by Paul Hoffman. This API intends to offer application developers a modernized and flexible way to access DNS security (DNSSEC) and other powerful new DNS features; a particular hope is to inspire application developers towards innovative security solutions in their applications.

This package contains stubby daemon - the DNS Privacy Stub Resolver.

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

sudo apt-get -y install stubby

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

You can also use apt command to install stubby.

sudo apt -y install stubby

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

sudo aptitude install stubby

Summary

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