How to Install and Uninstall ntp Package on Ubuntu 21.10 (Impish Indri)

Last updated: January 22,2025

1. Install "ntp" package

This tutorial shows how to install ntp on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ntp

2. Uninstall "ntp" package

Please follow the guidelines below to uninstall ntp on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ntp $ sudo apt autoclean && sudo apt autoremove

3. Information about the ntp package on Ubuntu 21.10 (Impish Indri)

Package: ntp
Architecture: amd64
Version: 1:4.2.8p12+dfsg-3ubuntu6
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NTP Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1993
Provides: time-daemon
Depends: adduser, lsb-base (>= 3.2-13), netbase, tzdata, libc6 (>= 2.33), libcap2 (>= 1:2.10), libedit2 (>= 2.11-20080614-0), libopts25 (>= 1:5.18.16), libssl1.1 (>= 1.1.0)
Recommends: sntp, perl:any
Suggests: ntp-doc
Conflicts: time-daemon
Breaks: apparmor-profiles-extra (<< 1.8)
Replaces: apparmor-profiles-extra (<< 1.8), time-daemon
Filename: pool/universe/n/ntp/ntp_4.2.8p12+dfsg-3ubuntu6_amd64.deb
Size: 704324
MD5sum: 8dd4b209f7897a246b4764d4361df311
SHA1: 14e3abe52639c51b4c0747ef3d443c64751dacb0
SHA256: dc89567fdfda081f31bd05538d0b7e6f99dec5297dcb44e991c2c6946a79f022
SHA512: d59f4e7686c0dbda698c4ea8f82b37f35d39a05fa3639fc0f42d728e97dfc747b759739a1eec6947b02e3b6b497358e2c4887e80d60df25b957309cdcf948c38
Homepage: http://support.ntp.org/
Description-en: Network Time Protocol daemon and utility programs
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".
Description-md5: 220487bd9eceed70fec6b929cb922fd3