How To Install perl-DateTime on Fedora 36

In this tutorial we learn how to install perl-DateTime in Fedora 36. perl-DateTime is Date and time object for Perl

Introduction

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

What is perl-DateTime

DateTime is a class for the representation of date/time combinations. It represents the Gregorian calendar, extended backwards in time before its creation (in 1582). This is sometimes known as the “proleptic Gregorian calendar”. In this calendar, the first day of the calendar (the epoch), is the first day of year 1, which corresponds to the date which was (incorrectly) believed to be the birth of Jesus Christ.

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

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

sudo dnf -y install perl-DateTime

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

sudo yum -y install perl-DateTime

How To Uninstall perl-DateTime on Fedora 36

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

sudo dnf remove perl-DateTime

perl-DateTime Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/b26f904f662a6afdbf3116eac2a480e664934a
/usr/lib64/perl5/vendor_perl/DateTime
/usr/lib64/perl5/vendor_perl/DateTime.pm
/usr/lib64/perl5/vendor_perl/DateTime/Conflicts.pm
/usr/lib64/perl5/vendor_perl/DateTime/Duration.pm
/usr/lib64/perl5/vendor_perl/DateTime/Helpers.pm
/usr/lib64/perl5/vendor_perl/DateTime/Infinite.pm
/usr/lib64/perl5/vendor_perl/DateTime/LeapSecond.pm
/usr/lib64/perl5/vendor_perl/DateTime/PP.pm
/usr/lib64/perl5/vendor_perl/DateTime/PPExtra.pm
/usr/lib64/perl5/vendor_perl/DateTime/Types.pm
/usr/lib64/perl5/vendor_perl/auto/DateTime
/usr/lib64/perl5/vendor_perl/auto/DateTime/DateTime.so
/usr/share/doc/perl-DateTime
/usr/share/doc/perl-DateTime/CODE_OF_CONDUCT.md
/usr/share/doc/perl-DateTime/CONTRIBUTING.md
/usr/share/doc/perl-DateTime/CREDITS
/usr/share/doc/perl-DateTime/Changes
/usr/share/doc/perl-DateTime/README.md
/usr/share/doc/perl-DateTime/TODO
/usr/share/licenses/perl-DateTime
/usr/share/licenses/perl-DateTime/LICENSE
/usr/share/man/man3/DateTime.3pm.gz
/usr/share/man/man3/DateTime::Duration.3pm.gz
/usr/share/man/man3/DateTime::Infinite.3pm.gz
/usr/share/man/man3/DateTime::LeapSecond.3pm.gz
/usr/share/man/man3/DateTime::Types.3pm.gz

References

Summary

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