How To Install texlive-translator on CentOS 8

In this tutorial we learn how to install texlive-translator on CentOS 8. texlive-translator is Easy translation of strings in LaTeX

Introduction

In this tutorial we learn how to install texlive-translator on CentOS 8.

What is texlive-translator

This LaTeX package provides a flexible mechanism for translating individual words into different languages. For example, it can be used to translate a word like “figure” into, say, the German word “Abbildung”. Such a translation mechanism is useful when the author of some package would like to localize the package such that texts are correctly translated into the language preferred by the user. This package is not intended to be used to automatically translate more than a few words.

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

Install texlive-translator on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-translator

Install texlive-translator on CentOS 8 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 texlive-translator using dnf by running the following command:

sudo dnf -y install texlive-translator

How To Uninstall texlive-translator on CentOS 8

To uninstall only the texlive-translator package we can use the following command:

sudo dnf remove texlive-translator

References

Summary

In this tutorial we learn how to install texlive-translator on CentOS 8 using yum and dnf.