How To Install perl-Algorithm-Cron on Fedora 36

In this tutorial we learn how to install perl-Algorithm-Cron in Fedora 36. perl-Algorithm-Cron is Abstract implementation of the cron(8) scheduling algorithm

Introduction

In this tutorial we learn how to install perl-Algorithm-Cron on Fedora 36.

What is perl-Algorithm-Cron

Objects in this class implement a time scheduling algorithm such as used by cron(8). Objects are stateless once constructed, and represent a single schedule as defined by a crontab(5) entry. The object implements a method next_time which returns an epoch timestamp value to indicate the next time included in the crontab schedule.

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

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

sudo dnf -y install perl-Algorithm-Cron

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

sudo yum -y install perl-Algorithm-Cron

How To Uninstall perl-Algorithm-Cron on Fedora 36

To uninstall only the perl-Algorithm-Cron package we can use the following command:

sudo dnf remove perl-Algorithm-Cron

perl-Algorithm-Cron Package Contents on Fedora 36

/usr/share/doc/perl-Algorithm-Cron
/usr/share/doc/perl-Algorithm-Cron/Changes
/usr/share/doc/perl-Algorithm-Cron/README
/usr/share/licenses/perl-Algorithm-Cron
/usr/share/licenses/perl-Algorithm-Cron/LICENSE
/usr/share/man/man3/Algorithm::Cron.3pm.gz
/usr/share/perl5/vendor_perl/Algorithm
/usr/share/perl5/vendor_perl/Algorithm/Cron.pm

References

Summary

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