How To Install texlive-cm-lgc on CentOS 7

In this tutorial we learn how to install texlive-cm-lgc on CentOS 7. texlive-cm-lgc is Type 1 CM-based fonts for Latin, Greek and Cyrillic

Introduction

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

What is texlive-cm-lgc

The fonts are converted from Metafont sources of the Computer Modern font families, using textrace. Supported encodings are T1 (Latin), T2A (Cyrillic), LGR (Greek) and TS1. The package also includes Unicode virtual fonts for use with Omega. The font set is not a replacement for any of the other Computer Modern-based font sets (for example, cm-super for Latin and Cyrillic, or cbgreek for Greek), since it is available at a single size only; it offers a compact set for ‘general’ working. The fonts themselves are encoded to external standards, and virtual fonts are provided for use with TeX. date

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

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

sudo yum -y install texlive-cm-lgc

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

sudo dnf -y install texlive-cm-lgc

How To Uninstall texlive-cm-lgc on CentOS 7

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

sudo dnf remove texlive-cm-lgc

References

Summary

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