How To Install drupal7-ctools on CentOS 7

In this tutorial we learn how to install drupal7-ctools on CentOS 7. drupal7-ctools is Primarily a set of APIs and tools to improve the developer

Introduction

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

What is drupal7-ctools

This suite is primarily a set of APIs and tools to improve the developer experience. It also contains a module called the Page Manager whose job is to manage pages. In particular it manages panel pages, but as it grows it will be able to manage far more than just Panels. For the moment, it includes the following tools * Plugins – tools to make it easy for modules to let other modules implement plugins from .inc files. * Exportables – tools to make it easier for modules to have objects that live in database or live in code, such as ‘default views’. * AJAX responder – tools to make it easier for the server to handle AJAX requests and tell the client what to do with them. * Form tools – tools to make it easier for forms to deal with AJAX. * Object caching – tool to make it easier to edit an object across multiple page requests and cache the editing work. * Contexts – the notion of wrapping objects in a unified wrapper and providing an API to create and accept these contexts as input. * Modal dialog – tool to make it simple to put a form in a modal dialog. * Dependent – a simple form widget to make form items appear and disappear based upon the selections in another item. * Content – pluggable content types used as panes in Panels and other modules like Dashboard. * Form wizard – an API to make multi-step forms much easier. * CSS tools – tools to cache and sanitize CSS easily to make user-input CSS safe. This package provides the following Drupal modules * bulk_export * ctools * ctools_access_ruleset * ctools_ajax_sample * ctools_custom_content * ctools_plugin_example * page_manager * stylizer * term_depth * views_content

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

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

sudo yum -y install drupal7-ctools

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

sudo dnf -y install drupal7-ctools

How To Uninstall drupal7-ctools on CentOS 7

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

sudo dnf remove drupal7-ctools

References

Summary

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