How To Install perl-DateTime-Event-Recurrence on CentOS 7

In this tutorial we learn how to install perl-DateTime-Event-Recurrence on CentOS 7. perl-DateTime-Event-Recurrence is DateTime::Set extension for create basic recurrence sets

Introduction

In this tutorial we learn how to install perl-DateTime-Event-Recurrence on CentOS 7.

What is perl-DateTime-Event-Recurrence

This module provides convenience methods that let you easily create DateTime “once a month” or “every day”. You can also create more complicated recurrences, such as “every Monday, Wednesday and Thursday at 10

We can use yum or dnf to install perl-DateTime-Event-Recurrence on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DateTime-Event-Recurrence.

Install perl-DateTime-Event-Recurrence on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-DateTime-Event-Recurrence using yum by running the following command:

sudo yum -y install perl-DateTime-Event-Recurrence

Install perl-DateTime-Event-Recurrence on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-DateTime-Event-Recurrence using dnf by running the following command:

sudo dnf -y install perl-DateTime-Event-Recurrence

How To Uninstall perl-DateTime-Event-Recurrence on CentOS 7

To uninstall only the perl-DateTime-Event-Recurrence package we can use the following command:

sudo dnf remove perl-DateTime-Event-Recurrence

References

Summary

In this tutorial we learn how to install perl-DateTime-Event-Recurrence on CentOS 7 using yum and dnf.