How To Install rdate.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install rdate.x86_64
on Amazon Linux 2.
What is rdate.x86_64
The rdate utility retrieves the date and time from another machine on your network, using the protocol described in RFC 868. If you run rdate as root, it will set your machine’s local time to the time of the machine that you queried.
We can use yum
to install rdate.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rdate.x86_64.
Install rdate.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 rdate.x86_64
using yum
by running the following command:
sudo yum -y install rdate.x86_64
How To Uninstall rdate.x86_64 on Amazon Linux 2
To uninstall only the rdate.x86_64
package we can use the following command:
sudo yum remove rdate.x86_64
rdate.x86_64 Package Contents on Amazon Linux 2
/usr/bin/rdate
/usr/share/doc/rdate-1.4
/usr/share/doc/rdate-1.4/COPYING
/usr/share/man/man1/rdate.1.gz
References
Summary
In this tutorial we learn how to install rdate.x86_64
on Amazon Linux 2 using yum.