ntpdc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ntpdc: command not found
or when using sudo you get the following error message
sudo: ntpdc: command not found
Solutions to ntpdc: command not found
How To Fix ntpdc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ntpdc is provided by ntp package.
ntp is:
NTP, the Network Time Protocol, is used to keep computer clocks accurate by synchronizing them over the Internet or a local network, or by following an accurate hardware receiver that interprets GPS, DCF-77, NIST or similar time signals.
This package contains the NTP daemon and utility programs. An NTP daemon needs to be running on each host that is to have its clock accuracy controlled by NTP. The same NTP daemon is also used to provide NTP service to other hosts.
For more information about the NTP protocol and NTP server configuration and operation, install the package “ntp-doc”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ntp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ntp.
sudo apt -y install ntp
Or if you have aptitude installed you can use the following command.
sudo aptitude install ntp
Summary
In this tutorial we learn how to fix ntpdc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.