How To Install drupal7-metatag on CentOS 7

In this tutorial we learn how to install drupal7-metatag on CentOS 7. drupal7-metatag is Adds support and an API to implement meta tags

Introduction

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

What is drupal7-metatag

The Metatag module allows you to automatically provide structured metadata, aka “meta tags”, about your website. In the context of search engine optimization, when people refer to meta tags they are usually referring to the meta description tag and the meta keywords tag that may help improve the rankings and display of your site in search engine results. Meta tags have additional uses like the Open Graph Protocol used by Facebook, specifying the canonical location of content across multiple URLs or domains. This project is the designated Drupal 7 a from-the-ground-up rewrite and successor of the Nodewords module. This package provides the following Drupal modules * metatag * metatag_app_links * metatag_context (requires drupal7-context) * metatag_dc * metatag_dc_advanced * metatag_devel * metatag_facebook * metatag_favicons * metatag_google_cse * metatag_google_plus * metatag_hreflang * metatag_importer * metatag_mobile * metatag_opengraph * metatag_opengraph_products * metatag_panels (requires drupal7-ctools and drupal7-token, as well as manual install of panels) * metatag_twitter_cards * metatag_verification * metatag_views (requires drupal7-views)

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

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

sudo yum -y install drupal7-metatag

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

sudo dnf -y install drupal7-metatag

How To Uninstall drupal7-metatag on CentOS 7

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

sudo dnf remove drupal7-metatag

References

Summary

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