How To Install perl-DateTime-Precise on Fedora 36
Introduction
In this tutorial we learn how to install perl-DateTime-Precise
on Fedora 36.
What is perl-DateTime-Precise
The purpose of this library was to replace our dependence on Unix epoch time, which, being limited to a range of about 1970 to 2030, is inadequate for our purposes (we have data as old as 1870). This date library effectively handles dates from A.D. 1000 to infinity, and would probably work all the way back to 0 (ignoring, of course, the switch-over to the Gregorian calendar). The useful features of Unix epoch time (ease of date difference calculation and date comparison, strict ordering) are preserved, and elements such as human-legibility are added. The library handles fractional seconds and some date/time manipulations used for the Global Positioning Satellite system.
We can use yum
or dnf
to install perl-DateTime-Precise
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DateTime-Precise.
Install perl-DateTime-Precise 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-Precise
using dnf
by running the following command:
sudo dnf -y install perl-DateTime-Precise
Install perl-DateTime-Precise 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-Precise
using yum
by running the following command:
sudo yum -y install perl-DateTime-Precise
How To Uninstall perl-DateTime-Precise on Fedora 36
To uninstall only the perl-DateTime-Precise
package we can use the following command:
sudo dnf remove perl-DateTime-Precise
perl-DateTime-Precise Package Contents on Fedora 36
/usr/share/doc/perl-DateTime-Precise
/usr/share/doc/perl-DateTime-Precise/CHANGES
/usr/share/doc/perl-DateTime-Precise/README
/usr/share/man/man3/DateTime::Precise.3pm.gz
/usr/share/perl5/vendor_perl/DateTime
/usr/share/perl5/vendor_perl/DateTime/Math
/usr/share/perl5/vendor_perl/DateTime/Math/bigfloat.pl
/usr/share/perl5/vendor_perl/DateTime/Math/bigint.pl
/usr/share/perl5/vendor_perl/DateTime/Precise.pm
References
Summary
In this tutorial we learn how to install perl-DateTime-Precise
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).