How To Install texlive-lh on CentOS 7

In this tutorial we learn how to install texlive-lh on CentOS 7. texlive-lh is Cyrillic fonts that support LaTeX standard encodings

Introduction

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

What is texlive-lh

The LH fonts address the problem of the wide variety of alphabets that are written with Cyrillic-style characters. The fonts are the original basis of the set of T2* and X2 encodings that are now used when LaTeX users need to write in Cyrillic languages. Macro support in standard LaTeX encodings is offered through the cyrillic and t2 bundles, and the package itself offers support for other (more traditional) encodings. The fonts, in the standard T2* and X2 encodings are available in Adobe Type 1 format, in the CM-Super family of fonts. The package also offers its own LaTeX support for OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.

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

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

sudo yum -y install texlive-lh

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

sudo dnf -y install texlive-lh

How To Uninstall texlive-lh on CentOS 7

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

sudo dnf remove texlive-lh

References

Summary

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