clockdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
clockdiff: command not found
or when using sudo you get the following error message
sudo: clockdiff: command not found
Solutions to clockdiff: command not found
How To Fix clockdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu clockdiff is provided by iputils-clockdiff package.
iputils-clockdiff is:
Clockdiff computes the difference between the time of the machine on which it is called and the time of other network-accessible machines. The time differences measured by clockdiff are obtained using a sequence of ICMP TSTAMP messages which are returned to the sender by the IP module in the remote machine.
To fix this problem, we can install more using the command below.
sudo apt-get -y install iputils-clockdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install iputils-clockdiff.
sudo apt -y install iputils-clockdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install iputils-clockdiff
Summary
In this tutorial we learn how to fix clockdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.