ods-enforcer-db-setup command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ods-enforcer-db-setup: command not found
or when using sudo you get the following error message
sudo: ods-enforcer-db-setup: command not found
Solutions to ods-enforcer-db-setup: command not found
How To Fix ods-enforcer-db-setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ods-enforcer-db-setup is provided by opendnssec-enforcer-sqlite3 package.
opendnssec-enforcer-sqlite3 is:
OpenDNSSEC is a complete DNSSEC zone signing system which is very easy to use with stability and security in mind. There are a lot of details in signing zone files with DNSSEC and OpenDNSSEC covers most of it.
OpenDNSSEC Enforcer, which is a tool to make sure that there are enough keys for all of the zones, and take the policy and key information from the KASP database and turn it into an xml file that the signer can use.
The package contains OpenDNSSEC Enforcer binaries with sqlite3 backend.
To fix this problem, we can install more using the command below.
sudo apt-get -y install opendnssec-enforcer-sqlite3
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install opendnssec-enforcer-sqlite3.
sudo apt -y install opendnssec-enforcer-sqlite3
Or if you have aptitude installed you can use the following command.
sudo aptitude install opendnssec-enforcer-sqlite3
Summary
In this tutorial we learn how to fix ods-enforcer-db-setup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.