How To Install drupal7-profiler on CentOS 7

In this tutorial we learn how to install drupal7-profiler on CentOS 7. drupal7-profiler is Allows an install profile to be defined as a Drupal .info file

Introduction

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

What is drupal7-profiler

Profiler provides a new way to write install profiles. Gone are the days where you needed to know all the quirks of Drupal’s APIs in order to write a solid install profile. Profiler allows you to quickly and easily create new install profiles, as well as have ‘Sub’ Install Profiles, where one Install Profile inherits from and extends another Install Profile. This package provides the following Drupal module * profiler

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

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

sudo yum -y install drupal7-profiler

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

sudo dnf -y install drupal7-profiler

How To Uninstall drupal7-profiler on CentOS 7

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

sudo dnf remove drupal7-profiler

References

Summary

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