How To Install chrony.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install chrony.x86_64
on Amazon Linux 2.
What is chrony.x86_64
A client/server for the Network Time Protocol, this program keeps your computer’s clock accurate. It was specially designed to support systems with intermittent internet connections, but it also works well in permanently connected environments. It can use also hardware reference clocks, system real-time clock or manual input as time references.
We can use yum
to install chrony.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install chrony.x86_64.
Install chrony.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 chrony.x86_64
using yum
by running the following command:
sudo yum -y install chrony.x86_64
How To Uninstall chrony.x86_64 on Amazon Linux 2
To uninstall only the chrony.x86_64
package we can use the following command:
sudo yum remove chrony.x86_64
chrony.x86_64 Package Contents on Amazon Linux 2
/etc/NetworkManager/dispatcher.d
/etc/NetworkManager/dispatcher.d/20-chrony-dhcp
/etc/NetworkManager/dispatcher.d/20-chrony-onoffline
/etc/chrony.conf
/etc/chrony.keys
/etc/dhcp/dhclient.d/chrony.sh
/etc/logrotate.d/chrony
/etc/sysconfig/chronyd
/usr/bin/chronyc
/usr/lib/systemd/ntp-units.d/50-chronyd.list
/usr/lib/systemd/system/chrony-wait.service
/usr/lib/systemd/system/chronyd.service
/usr/sbin/chronyd
/usr/share/doc/chrony-4.0
/usr/share/doc/chrony-4.0/FAQ
/usr/share/doc/chrony-4.0/NEWS
/usr/share/doc/chrony-4.0/README
/usr/share/licenses/chrony-4.0
/usr/share/licenses/chrony-4.0/COPYING
/usr/share/man/man1/chronyc.1.gz
/usr/share/man/man5/chrony.conf.5.gz
/usr/share/man/man8/chronyd.8.gz
/var/lib/chrony
/var/lib/chrony/drift
/var/lib/chrony/rtc
/var/log/chrony
References
Summary
In this tutorial we learn how to install chrony.x86_64
on Amazon Linux 2 using yum.