How To Install perl-DateTime-Format-DB2 on Fedora 36

In this tutorial we learn how to install perl-DateTime-Format-DB2 in Fedora 36. perl-DateTime-Format-DB2 is Parse and format DB2 dates and times

Introduction

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

What is perl-DateTime-Format-DB2

This module understands the formats used by DB2 for its DATE, TIME, and TIMESTAMP data types. It can be used to parse these formats in order to create DateTime objects, and it can take a DateTime object and produce a string representing it in the DB2 format.

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

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

sudo dnf -y install perl-DateTime-Format-DB2

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

sudo yum -y install perl-DateTime-Format-DB2

How To Uninstall perl-DateTime-Format-DB2 on Fedora 36

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

sudo dnf remove perl-DateTime-Format-DB2

perl-DateTime-Format-DB2 Package Contents on Fedora 36

/usr/share/doc/perl-DateTime-Format-DB2
/usr/share/doc/perl-DateTime-Format-DB2/Changes
/usr/share/doc/perl-DateTime-Format-DB2/t
/usr/share/doc/perl-DateTime-Format-DB2/t/00load.t
/usr/share/doc/perl-DateTime-Format-DB2/t/01format.t
/usr/share/doc/perl-DateTime-Format-DB2/t/02parse.t
/usr/share/man/man3/DateTime::Format::DB2.3pm.gz
/usr/share/perl5/vendor_perl/DateTime
/usr/share/perl5/vendor_perl/DateTime/Format
/usr/share/perl5/vendor_perl/DateTime/Format/DB2.pm

References

Summary

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