How To Install perl-Date-Manip on CentOS 7

In this tutorial we learn how to install perl-Date-Manip on CentOS 7. perl-Date-Manip is Date manipulation routines

Introduction

In this tutorial we learn how to install perl-Date-Manip on CentOS 7.

What is perl-Date-Manip

Date date/time operation easy to do. Operations such as comparing two times, determining a data a given amount of time from another, or parsing international times are all easily done. It deals with time as it is used in the Gregorian calendar (the one currently in use) with full support for time changes due to daylight saving time.

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

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

sudo yum -y install perl-Date-Manip

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

sudo dnf -y install perl-Date-Manip

How To Uninstall perl-Date-Manip on CentOS 7

To uninstall only the perl-Date-Manip package we can use the following command:

sudo dnf remove perl-Date-Manip

References

Summary

In this tutorial we learn how to install perl-Date-Manip on CentOS 7 using yum and dnf.