How To Install ntpdate.x86_64 on Amazon Linux 2
In this tutorial we learn how to install ntpdate.x86_64 in Amazon Linux 2. ntpdate.x86_64 is Utility to set the date and time via NTP
Introduction
In this tutorial we learn how to install ntpdate.x86_64 on Amazon Linux 2.
What is ntpdate.x86_64
ntpdate is a program for retrieving the date and time from NTP servers.
We can use yum to install ntpdate.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ntpdate.x86_64.
Install ntpdate.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ntpdate.x86_64 using yum by running the following command:
sudo yum -y install ntpdate.x86_64
How To Uninstall ntpdate.x86_64 on Amazon Linux 2
To uninstall only the ntpdate.x86_64 package we can use the following command:
sudo yum remove ntpdate.x86_64
ntpdate.x86_64 Package Contents on Amazon Linux 2
/etc/ntp
/etc/ntp/step-tickers
/etc/sysconfig/ntpdate
/usr/lib/systemd/system/ntpdate.service
/usr/libexec/ntpdate-wrapper
/usr/sbin/ntpdate
/usr/share/doc/ntpdate-4.2.8p15
/usr/share/doc/ntpdate-4.2.8p15/COPYRIGHT
/usr/share/man/man8/ntpdate.8.gz
References
Summary
In this tutorial we learn how to install ntpdate.x86_64 on Amazon Linux 2 using yum.