How To Install python-translationstring on CentOS 7

In this tutorial we learn how to install python-translationstring on CentOS 7. python-translationstring is Utility library for i18n relied on by various Repoze packages

Introduction

In this tutorial we learn how to install python-translationstring on CentOS 7.

What is python-translationstring

A library used by various Repoze <http for internationalization (i18n) duties related to translation. This package provides a *translation string* class, a *translation string factory* class, translation and pluralization primitives, and a utility that helps Chameleon <http facilities of this package. It does not depend on `Babel <http pluralization services are meant to work best when provided with an instance of the babel.support.Translations class.

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

Install python-translationstring on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-translationstring using yum by running the following command:

sudo yum -y install python-translationstring

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

sudo dnf -y install python-translationstring

How To Uninstall python-translationstring on CentOS 7

To uninstall only the python-translationstring package we can use the following command:

sudo dnf remove python-translationstring

References

Summary

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