dhid command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dhid: command not found
or when using sudo you get the following error message
sudo: dhid: command not found
Solutions to dhid: command not found
How To Fix dhid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dhid is provided by dhis-client package.
dhis-client is:
dhid is the DHIS client daemon. After setting up with a DHIS provider, each machine may run a dhid daemon (in background) in order to update its dynamic IP address within the server.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dhis-client
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dhis-client.
sudo apt -y install dhis-client
Or if you have aptitude installed you can use the following command.
sudo aptitude install dhis-client
Summary
In this tutorial we learn how to fix dhid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.