How To Install ntp-perl.noarch on Amazon Linux 2

In this tutorial we learn how to install ntp-perl.noarch in Amazon Linux 2. ntp-perl.noarch is NTP utilities written in Perl

Introduction

In this tutorial we learn how to install ntp-perl.noarch on Amazon Linux 2.

What is ntp-perl.noarch

This package contains Perl scripts calc_tickadj, ntp-wait and ntptrace.

We can use yum to install ntp-perl.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ntp-perl.noarch.

Install ntp-perl.noarch 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 ntp-perl.noarch using yum by running the following command:

sudo yum -y install ntp-perl.noarch

How To Uninstall ntp-perl.noarch on Amazon Linux 2

To uninstall only the ntp-perl.noarch package we can use the following command:

sudo yum remove ntp-perl.noarch

ntp-perl.noarch Package Contents on Amazon Linux 2

/usr/lib/systemd/system/ntp-wait.service
/usr/sbin/calc_tickadj
/usr/sbin/ntp-wait
/usr/sbin/ntptrace
/usr/share/man/man8/calc_tickadj.8.gz
/usr/share/man/man8/ntp-wait.8.gz
/usr/share/man/man8/ntptrace.8.gz
/usr/share/ntp
/usr/share/ntp/lib
/usr/share/ntp/lib/NTP
/usr/share/ntp/lib/NTP/Util.pm

References

Summary

In this tutorial we learn how to install ntp-perl.noarch on Amazon Linux 2 using yum.