How To Install drupal7-fivestar on CentOS 7

In this tutorial we learn how to install drupal7-fivestar on CentOS 7. drupal7-fivestar is Enables fivestar ratings on content, users, etc

Introduction

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

What is drupal7-fivestar

The Fivestar voting module adds a clean, attractive voting widget to nodes and comments and any entity. It features * jQuery rollover effects and AJAX no-reload voting * Configurable star sets * Graceful degradation to an HTML rating form when JavaScript is turned off * Support for anonymous voters * Spam protection to keep users from filling your DB with bogus votes * Easy-to-use integration with Views module for lists sorted by rating, or filtered by min/max ratings * A Fivestar CCK field for use in custom node types * An easy-to-use Form API element type for use in other modules * Compatible with all versions of jQuery (1.0 - 1.8) This package provides the following Drupal module * fivestar

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

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

sudo yum -y install drupal7-fivestar

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

sudo dnf -y install drupal7-fivestar

How To Uninstall drupal7-fivestar on CentOS 7

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

sudo dnf remove drupal7-fivestar

References

Summary

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