How To Install python3-translationstring on Rocky Linux 8

In this tutorial we learn how to install python3-translationstring on Rocky Linux 8. python3-translationstring is Library used for internationalization (i18n) duties related to translation

Introduction

In this tutorial we learn how to install python3-translationstring on Rocky Linux 8.

What is python3-translationstring

A library used by various Pylons Project packages 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 templates use translation facilities of this package. It does not depend on Babel, but its translation and pluralization services are meant to work best when provided with an instance of the babel.support.Translations class. Python 3 version.

We can use yum or dnf to install python3-translationstring on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-translationstring.

Install python3-translationstring on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-translationstring

Install python3-translationstring on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-translationstring

How To Uninstall python3-translationstring on Rocky Linux 8

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

sudo dnf remove python3-translationstring

python3-translationstring Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/translationstring
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/translationstring-1.3-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/translationstring/__init__.py
/usr/lib/python3.6/site-packages/translationstring/__pycache__
/usr/lib/python3.6/site-packages/translationstring/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/compat.py
/usr/lib/python3.6/site-packages/translationstring/tests
/usr/lib/python3.6/site-packages/translationstring/tests/__init__.py
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/test__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/test__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/test_integration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/test_integration.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/translations.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/__pycache__/translations.cpython-36.pyc
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures/locales
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures/locales/de
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures/locales/de/LC_MESSAGES
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures/locales/de/LC_MESSAGES/messages.mo
/usr/lib/python3.6/site-packages/translationstring/tests/fixtures/locales/de/LC_MESSAGES/messages.po
/usr/lib/python3.6/site-packages/translationstring/tests/test__init__.py
/usr/lib/python3.6/site-packages/translationstring/tests/test_integration.py
/usr/lib/python3.6/site-packages/translationstring/tests/translations.py
/usr/share/doc/python3-translationstring
/usr/share/doc/python3-translationstring/README.rst
/usr/share/doc/python3-translationstring/changes.rst
/usr/share/licenses/python3-translationstring
/usr/share/licenses/python3-translationstring/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-translationstring on Rocky Linux 8 using yum and dnf.