How To Install drupal7-context on CentOS 7
Introduction
In this tutorial we learn how to install drupal7-context
on CentOS 7.
What is drupal7-context
Context allows you to manage contextual conditions and reactions for different portions of your site. You can think of each context as representing a “section” of your site. For each context, you can choose the conditions that trigger this context to be active and choose different aspects of Drupal that should react to this active context. Think of conditions as a set of rules that are checked during page load to see what context is active. Any reactions that are associated with active contexts are then fired. This package provides the following Drupal modules * context * context_layouts * context_ui
We can use yum
or dnf
to install drupal7-context
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-context.
Install drupal7-context on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install drupal7-context
using yum
by running the following command:
Install drupal7-context 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.
After updating yum database, We can install drupal7-context
using dnf
by running the following command:
How To Uninstall drupal7-context on CentOS 7
To uninstall only the drupal7-context
package we can use the following command:
References
Summary
In this tutorial we learn how to install drupal7-context
on CentOS 7 using yum
and dnf
.