How To Install texlive-lhcyr on CentOS 7

In this tutorial we learn how to install texlive-lhcyr on CentOS 7. texlive-lhcyr is A non-standard Cyrillic input scheme

Introduction

In this tutorial we learn how to install texlive-lhcyr on CentOS 7.

What is texlive-lhcyr

A collection of three LaTeX 2e styles intended for typesetting Russian and bilingual English-Russian documents, using the lh fonts and without the benefit of babel’s language-switching mechanisms. The packages (lhcyralt and lhcyrwin for use under emTeX, and lhcyrkoi for use under teTeX) provide mappings between the input encoding and the font encoding (which is described as OT1). The way this is done does not match the way inputenc would do the job, for output via fontenc to one of the T2 series of font encodings.

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

Install texlive-lhcyr on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-lhcyr

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

sudo dnf -y install texlive-lhcyr

How To Uninstall texlive-lhcyr on CentOS 7

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

sudo dnf remove texlive-lhcyr

References

Summary

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