How To Install drupal7-login_destination on CentOS 7

In this tutorial we learn how to install drupal7-login_destination on CentOS 7. drupal7-login_destination is Customize the destination that the user is redirected to after

Introduction

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

What is drupal7-login_destination

The Login Destination module allows you to customize the destination that a user is redirected to after logging in. The destination can be an internal page or an external URL. It is possible to specify certain conditions like referring pages or user roles and make the destination depend upon them. You may use PHP snippets to provide custom conditions and destinations. It also possible to keep users on the currently visited page after logging in or out. This package provides the following Drupal module * login_destination

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

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

sudo yum -y install drupal7-login_destination

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

sudo dnf -y install drupal7-login_destination

How To Uninstall drupal7-login_destination on CentOS 7

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

sudo dnf remove drupal7-login_destination

References

Summary

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