How To Install perl-Date-ISO8601 on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Date-ISO8601
on Rocky Linux 8.
What is perl-Date-ISO8601
The international standard ISO 8601 “Data elements and interchange formats - Information interchange - Representation of dates and times” defines three distinct calendars by which days can be labeled. It also defines textual formats for the representation of dates in these calendars. This module provides functions to convert dates between these three calendars and Chronological Julian Day Numbers, which is a suitable format to do arithmetic with. It also supplies functions that describe the shape of these calendars, to assist in calendrical calculations. It also supplies functions to represent dates textually in the ISO 8601 formats. ISO 8601 also covers time of day and time periods, but this module does nothing relating to those parts of the standard; this is only about labeling days.
We can use yum
or dnf
to install perl-Date-ISO8601
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Date-ISO8601.
Install perl-Date-ISO8601 on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Date-ISO8601
using dnf
by running the following command:
sudo dnf -y install perl-Date-ISO8601
Install perl-Date-ISO8601 on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Date-ISO8601
using yum
by running the following command:
sudo yum -y install perl-Date-ISO8601
How To Uninstall perl-Date-ISO8601 on Rocky Linux 8
To uninstall only the perl-Date-ISO8601
package we can use the following command:
sudo dnf remove perl-Date-ISO8601
perl-Date-ISO8601 Package Contents on Rocky Linux 8
/usr/share/doc/perl-Date-ISO8601
/usr/share/doc/perl-Date-ISO8601/Changes
/usr/share/doc/perl-Date-ISO8601/README
/usr/share/man/man3/Date::ISO8601.3pm.gz
/usr/share/perl5/vendor_perl/Date
/usr/share/perl5/vendor_perl/Date/ISO8601.pm
References
Summary
In this tutorial we learn how to install perl-Date-ISO8601
on Rocky Linux 8 using yum and dnf.