How To Install drupal7-language_cookie on CentOS 7

In this tutorial we learn how to install drupal7-language_cookie on CentOS 7. drupal7-language_cookie is Allows usage of cookies to remember the user’s last language

Introduction

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

Adds an extra “Cookie” field to the Language Negotiation settings, allowing the language to be set according to a cookie. The cookie name, domain & expiration are configurable in the settings page. This package provides the following Drupal module * language_cookie

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

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install drupal7-language_cookie

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

sudo dnf -y install drupal7-language_cookie

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

sudo dnf remove drupal7-language_cookie

References

Summary

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