How To Install perl-DateTime.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-DateTime.x86_64
on Amazon Linux 2.
What is perl-DateTime.x86_64
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
to install perl-DateTime.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DateTime.x86_64.
Install perl-DateTime.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-DateTime.x86_64
using yum
by running the following command:
sudo yum -y install perl-DateTime.x86_64
How To Uninstall perl-DateTime.x86_64 on Amazon Linux 2
To uninstall only the perl-DateTime.x86_64
package we can use the following command:
sudo yum remove perl-DateTime.x86_64
perl-DateTime.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/perl5/vendor_perl/DateTime
/usr/lib64/perl5/vendor_perl/DateTime.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/DateTimePP.pm
/usr/lib64/perl5/vendor_perl/DateTimePPExtra.pm
/usr/lib64/perl5/vendor_perl/auto/DateTime
/usr/lib64/perl5/vendor_perl/auto/DateTime/DateTime.so
/usr/share/doc/perl-DateTime-1.04
/usr/share/doc/perl-DateTime-1.04/CREDITS
/usr/share/doc/perl-DateTime-1.04/Changes
/usr/share/doc/perl-DateTime-1.04/LICENSE
/usr/share/doc/perl-DateTime-1.04/README
/usr/share/doc/perl-DateTime-1.04/TODO
/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
References
Summary
In this tutorial we learn how to install perl-DateTime.x86_64
on Amazon Linux 2 using yum.