How To Install perl-Time-Piece on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Time-Piece
on Rocky Linux 8.
What is perl-Time-Piece
The Time with implementations that return objects. It does so in a backwards compatible manner, so that using localtime or gmtime as documented in perlfunc still behave as expected.
We can use yum
or dnf
to install perl-Time-Piece
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Time-Piece.
Install perl-Time-Piece 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-Time-Piece
using dnf
by running the following command:
sudo dnf -y install perl-Time-Piece
Install perl-Time-Piece 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-Time-Piece
using yum
by running the following command:
sudo yum -y install perl-Time-Piece
How To Uninstall perl-Time-Piece on Rocky Linux 8
To uninstall only the perl-Time-Piece
package we can use the following command:
sudo dnf remove perl-Time-Piece
perl-Time-Piece Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/65/aedeed5d4148693b45b4e0bcacf27e6119a7d6
/usr/lib64/perl5/Time
/usr/lib64/perl5/Time/Piece.pm
/usr/lib64/perl5/Time/Seconds.pm
/usr/lib64/perl5/auto/Time
/usr/lib64/perl5/auto/Time/Piece
/usr/lib64/perl5/auto/Time/Piece/Piece.so
/usr/share/man/man3/Time::Piece.3pm.gz
/usr/share/man/man3/Time::Seconds.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Time-Piece
on Rocky Linux 8 using yum and dnf.