unbound-anchor command not found

In this troubleshooting guide we learn how to fix unbound-anchor command not found error message

Introduction

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

unbound-anchor: command not found

or when using sudo you get the following error message

sudo: unbound-anchor: command not found

Solutions to unbound-anchor: command not found

How To Fix unbound-anchor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu unbound-anchor is provided by unbound-anchor package.

unbound-anchor is:

unbound-anchor is a utility which securely fetches or updates the root DNS zone trust anchor. A copy of the current root anchor and root update certificate is embedded in unbound-anchor. RFC 5011 trust anchor tracking is performed, with fallback to an SSL fetch if this fails.

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

sudo apt-get -y install unbound-anchor

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

You can also use apt command to install unbound-anchor.

sudo apt -y install unbound-anchor

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

sudo aptitude install unbound-anchor

Summary

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