How to Install and Uninstall sntp.x86_64 Package on Amazon Linux 2

Last updated: May 15,2024

1. Install "sntp.x86_64" package

Please follow the instructions below to install sntp.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install sntp.x86_64

2. Uninstall "sntp.x86_64" package

Please follow the instructions below to uninstall sntp.x86_64 on Amazon Linux 2:

$ sudo yum remove sntp.x86_64 $ sudo yum autoremove

3. Information about the sntp.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : sntp
Arch : x86_64
Version : 4.2.8p15
Release : 3.amzn2.0.5
Size : 93 k
Repo : amzn2-core/2/x86_64
Summary : Standard Simple Network Time Protocol program
URL : http://www.ntp.org
License : MIT and BSD and BSD with advertising
Description : sntp can be used as a SNTP client to query a NTP or SNTP server
: and either display the time or set the local system's time (given
: suitable privilege). It can be run as an interactive command or in
: a cron job.