How To Install perl-Time-HiRes on Fedora 36

In this tutorial we learn how to install perl-Time-HiRes in Fedora 36. perl-Time-HiRes is High resolution alarm, sleep, gettimeofday, interval timers

Introduction

In this tutorial we learn how to install perl-Time-HiRes on Fedora 36.

What is perl-Time-HiRes

The Time ualarm, gettimeofday, and setitimer/getitimer system calls, in other words, high resolution time and timers.

We can use yum or dnf to install perl-Time-HiRes on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Time-HiRes.

Install perl-Time-HiRes on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Time-HiRes using dnf by running the following command:

sudo dnf -y install perl-Time-HiRes

Install perl-Time-HiRes on Fedora 36 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 using yum by running the following command:

sudo yum -y install perl-Time-HiRes

How To Uninstall perl-Time-HiRes on Fedora 36

To uninstall only the perl-Time-HiRes package we can use the following command:

sudo dnf remove perl-Time-HiRes

perl-Time-HiRes Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/45ee6de5fe96db90ba8fed18a7d28986674a2b
/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
/usr/share/doc/perl-Time-HiRes/Changes
/usr/share/doc/perl-Time-HiRes/README
/usr/share/doc/perl-Time-HiRes/TODO
/usr/share/man/man3/Time::HiRes.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Time-HiRes on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).