How To Install texlive-lm on CentOS 7

In this tutorial we learn how to install texlive-lm on CentOS 7. texlive-lm is Latin modern fonts in outline formats

Introduction

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

What is texlive-lm

The Latin Modern family of fonts consists of 72 text fonts and 20 mathematics fonts, and is based on the Computer Modern fonts released into public domain by AMS (copyright (c) 1997 AMS). The lm font set contains a lot of additional characters, mainly accented ones, but not exclusively. There is one set of fonts, available both in Adobe Type 1 format (.pfb) and in OpenType format (.otf). There are five sets of TeX Font Metric files, corresponding to .tfm); TeX’n’ANSI aka LY1 encoding (texnansi-.tfm); T5 (Vietnamese) encoding (t5-.tfm); and Text Companion for EC fonts aka TS1 (ts1-.tfm). date

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

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

sudo yum -y install texlive-lm

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

sudo dnf -y install texlive-lm

How To Uninstall texlive-lm on CentOS 7

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

sudo dnf remove texlive-lm

References

Summary

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