How To Install perl-Time-Interval on Fedora 36

In this tutorial we learn how to install perl-Time-Interval in Fedora 36. perl-Time-Interval is Perl module that converts time intervals of days, hours, minutes, and seconds

Introduction

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

What is perl-Time-Interval

This is a rather simple Perl module for dealing with time intervals. Among other things, this module can tell you the number of hours, minutes, and seconds elapsed between two dates.

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

Install perl-Time-Interval 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-Interval using dnf by running the following command:

sudo dnf -y install perl-Time-Interval

Install perl-Time-Interval 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-Interval using yum by running the following command:

sudo yum -y install perl-Time-Interval

How To Uninstall perl-Time-Interval on Fedora 36

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

sudo dnf remove perl-Time-Interval

perl-Time-Interval Package Contents on Fedora 36

/usr/share/doc/perl-Time-Interval
/usr/share/doc/perl-Time-Interval/Changes
/usr/share/doc/perl-Time-Interval/README
/usr/share/licenses/perl-Time-Interval
/usr/share/licenses/perl-Time-Interval/LICENSE
/usr/share/man/man3/Time::Interval.3pm.gz
/usr/share/perl5/vendor_perl/Time
/usr/share/perl5/vendor_perl/Time/Interval.pm
/usr/share/perl5/vendor_perl/Time/Interval.pod

References

Summary

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