How To Install drupal7-domain_locale on CentOS 7

In this tutorial we learn how to install drupal7-domain_locale on CentOS 7. drupal7-domain_locale is Adds language handling functionality per domain basis

Introduction

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

What is drupal7-domain_locale

Domain Locale allows to customize language sets per domain for Drupal installs using Domain Access and core Locale module. This module also offers drush integration. You need this module if * you want a different default language on different domains * you want a different language set for each different domain This package provides the following Drupal module * domain_locale

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

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

sudo yum -y install drupal7-domain_locale

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

sudo dnf -y install drupal7-domain_locale

How To Uninstall drupal7-domain_locale on CentOS 7

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

sudo dnf remove drupal7-domain_locale

References

Summary

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