How To Install drupal7-date on CentOS 7

In this tutorial we learn how to install drupal7-date on CentOS 7. drupal7-date is Makes date/time fields available

Introduction

In this tutorial we learn how to install drupal7-date on CentOS 7.

What is drupal7-date

This package contains both a flexible date/time field type Date field and a Date API that other modules can use. The D5 and D6 versions of the Date field require the Content Construction Kit (CCK) module [1]. The D7 version works with the core Field functionality. D8 includes Date in core. The Drupal Handbook pages are at Date/Calendar Documentation [2]. This package provides the following Drupal 7 modules * date * date_all_day * date_api * date_context * date_migrate_example * date_popup * date_repeat * date_repeat_field * date_tools * date_views [1] http [2] http

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

Install drupal7-date on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drupal7-date using yum by running the following command:

sudo yum -y install drupal7-date

Install drupal7-date 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 drupal7-date using dnf by running the following command:

sudo dnf -y install drupal7-date

How To Uninstall drupal7-date on CentOS 7

To uninstall only the drupal7-date package we can use the following command:

sudo dnf remove drupal7-date

References

Summary

In this tutorial we learn how to install drupal7-date on CentOS 7 using yum and dnf.