How To Install perl-Time on Fedora 36

In this tutorial we learn how to install perl-Time in Fedora 36. perl-Time is By-name interface to Perl built-in time functions

Introduction

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

What is perl-Time

This package provides an object-oriented interface to Perl built-in gmtime() and localtime () functions.

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

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

sudo dnf -y install perl-Time

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

sudo yum -y install perl-Time

How To Uninstall perl-Time on Fedora 36

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

sudo dnf remove perl-Time

perl-Time Package Contents on Fedora 36

/usr/share/man/man3/Time::gmtime.3pm.gz
/usr/share/man/man3/Time::localtime.3pm.gz
/usr/share/man/man3/Time::tm.3pm.gz
/usr/share/perl5/Time
/usr/share/perl5/Time/gmtime.pm
/usr/share/perl5/Time/localtime.pm
/usr/share/perl5/Time/tm.pm

References

Summary

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