How To Install drupal7-votingapi on CentOS 7
Introduction
In this tutorial we learn how to install drupal7-votingapi
on CentOS 7.
What is drupal7-votingapi
VotingAPI helps developers who want to use a standardized API and schema for storing, retrieving, and tabulating votes for Drupal content. Among other things, it supports * Rating of any content (comments, nodes, users, fish, whatever) * Multi-criteria voting (rate a game based on video, audio, and replayability) * Automatic tabulation of results (with support for different voting styles, like ‘percentage’ and ‘+1/-1’) * Efficient caching of results (sorting and filtering doesn’t require any recalculation) * Hooks for additional vote calculations Note that this module does NOT directly expose any voting mechanisms to end users. It’s a framework designed to make life easier for other developers, and to standardize voting data for consumption by other modules (like Views). For some examples of simple voting systems based on VotingAPI, check Is Useful [1], Fivestar [2], and Plus1 [3]. This package provides the following Drupal module * votingapi [1] http [2] http [3] http
We can use yum
or dnf
to install drupal7-votingapi
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-votingapi.
Install drupal7-votingapi 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-votingapi
using yum
by running the following command:
sudo yum -y install drupal7-votingapi
Install drupal7-votingapi 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-votingapi
using dnf
by running the following command:
sudo dnf -y install drupal7-votingapi
How To Uninstall drupal7-votingapi on CentOS 7
To uninstall only the drupal7-votingapi
package we can use the following command:
sudo dnf remove drupal7-votingapi
References
Summary
In this tutorial we learn how to install drupal7-votingapi
on CentOS 7 using yum
and dnf
.