How To Install perl-Date-JD on Fedora 36

In this tutorial we learn how to install perl-Date-JD in Fedora 36. perl-Date-JD is Conversion between flavors of Julian Date

Introduction

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

What is perl-Date-JD

For date and time calculations it is convenient to represent dates by a simple linear count of days, rather than in a particular calendar. This is such a good idea that it has been invented several times. If there were a single such linear count then it would be the obvious data interchange format between calendar modules. With several versions, calendar modules can use such sensible data formats and still have interoperability problems. This module tackles that problem, by performing conversions between different flavors of day count. These day count systems are generically known as “Julian Dates”, after the most venerable of them.

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

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

sudo dnf -y install perl-Date-JD

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

sudo yum -y install perl-Date-JD

How To Uninstall perl-Date-JD on Fedora 36

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

sudo dnf remove perl-Date-JD

perl-Date-JD Package Contents on Fedora 36

/usr/share/doc/perl-Date-JD
/usr/share/doc/perl-Date-JD/Changes
/usr/share/doc/perl-Date-JD/README
/usr/share/man/man3/Date::JD.3pm.gz
/usr/share/perl5/vendor_perl/Date
/usr/share/perl5/vendor_perl/Date/JD.pm

References

Summary

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