How To Install perl-Time-HiRes.x86_64 on Amazon Linux 2
In this tutorial we learn how to install perl-Time-HiRes.x86_64 in Amazon Linux 2. perl-Time-HiRes.x86_64 is High resolution alarm, sleep, gettimeofday, interval timers
Introduction
In this tutorial we learn how to install perl-Time-HiRes.x86_64 on Amazon Linux 2.
What is perl-Time-HiRes.x86_64
The Time nanosleep, ualarm, gettimeofday, and setitimer/getitimer system calls, in other words, high resolution time and timers.
We can use yum to install perl-Time-HiRes.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Time-HiRes.x86_64.
Install perl-Time-HiRes.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 perl-Time-HiRes.x86_64 using yum by running the following command:
sudo yum -y install perl-Time-HiRes.x86_64
How To Uninstall perl-Time-HiRes.x86_64 on Amazon Linux 2
To uninstall only the perl-Time-HiRes.x86_64 package we can use the following command:
sudo yum remove perl-Time-HiRes.x86_64
perl-Time-HiRes.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/perl5/vendor_perl/Time
/usr/lib64/perl5/vendor_perl/Time/HiRes.pm
/usr/lib64/perl5/vendor_perl/auto/Time
/usr/lib64/perl5/vendor_perl/auto/Time/HiRes
/usr/lib64/perl5/vendor_perl/auto/Time/HiRes/HiRes.so
/usr/share/doc/perl-Time-HiRes-1.9725
/usr/share/doc/perl-Time-HiRes-1.9725/Changes
/usr/share/doc/perl-Time-HiRes-1.9725/README
/usr/share/doc/perl-Time-HiRes-1.9725/TODO
/usr/share/man/man3/Time::HiRes.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Time-HiRes.x86_64 on Amazon Linux 2 using yum.