How To Install drupal7-potx on CentOS 7

In this tutorial we learn how to install drupal7-potx on CentOS 7. drupal7-potx is Translation template extractor

Introduction

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

What is drupal7-potx

The Translation template extractor provides a web based and a command line Gettext translation template extractor interface for Drupal as well as a reusable API to look for translatable strings and translatability errors. This tool is used under the hood at http for Drupal.org project releases. This package provides the following Drupal module * potx

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

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

sudo yum -y install drupal7-potx

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

sudo dnf -y install drupal7-potx

How To Uninstall drupal7-potx on CentOS 7

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

sudo dnf remove drupal7-potx

References

Summary

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