How To Install texlive-cm on CentOS 8

texlive-cm is Computer Modern fonts

Introduction

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

What is texlive-cm

Knuth’s final iteration of his re-interpretation of a c.19 Modern-style font from Monotype. The family is comprehensive, offering both sans and roman styles, and a monospaced font, together with mathematics fonts closely integrated with the mathematical facilities of TeX itself. The base fonts are distributed as Metafont source, but autotraced PostScript Type 1 versions are available (one version in the AMS fonts distribution, and also the BaKoMa distribution). The Computer Modern fonts have inspired many later families, notably the European Computer Modern and the Latin Modern families.

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

Install texlive-cm on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install texlive-cm

Install texlive-cm on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install texlive-cm

How To Uninstall texlive-cm on CentOS 8

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

sudo dnf remove texlive-cm

texlive-cm Package Contents on CentOS 8

/usr/share/licenses/texlive-cm
/usr/share/licenses/texlive-cm/knuth.txt
/usr/share/texlive/texmf-dist/doc/fonts/cm
/usr/share/texlive/texmf-dist/doc/fonts/cm/README
/usr/share/texlive/texmf-dist/doc/fonts/cm/README-cmps.txt
/usr/share/texlive/texmf-dist/fonts/map/dvips/cm
/usr/share/texlive/texmf-dist/fonts/map/dvips/cm/cmtext-bsr-interpolated.map
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmbx10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmex10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmmi10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmmi7.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr12.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr17.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr6.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr7.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr8.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmsl10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmsy10.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmsy7.pk
/usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmti10.pk
/usr/share/texlive/texmf-dist/fonts/source/public/cm
/usr/share/texlive/texmf-dist/fonts/source/public/cm/accent.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/bigacc.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/bigdel.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/bigop.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/calu.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmb10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbase.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbcsc10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbsy10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbtex10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbtt10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbtt8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbtt9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx5.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx6.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx7.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbx9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbxsl10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmbxti10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmcsc10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmdunh10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmex10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmexb10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmff10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmfi10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmfib8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cminch.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmitt10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi5.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi6.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi7.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmi9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmmib10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmplain.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr17.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr5.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr6.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr7.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmr9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsl10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsl12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsl8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsl9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsltt10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmss10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmss12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmss17.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmss8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmss9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssbx10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssdc10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssi10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssi12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssi17.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssi8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssi9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssq8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmssqi8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy5.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy6.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy7.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmsy9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtcsc10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtex10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtex8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtex9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmti10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmti12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmti7.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmti8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmti9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtt10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtt12.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtt8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmtt9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmttb10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmu10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cmvtt10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/comlig.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/csc.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/cscspu.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/greekl.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/greeku.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/itald.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/italig.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/itall.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/italms.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/italp.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/italsp.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/mathex.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/mathit.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/mathsy.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/olddig.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/punct.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/roman.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romand.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romanl.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romanp.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romanu.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romlig.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romms.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romspl.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romspu.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/romsub.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/sym.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/symbol.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/texset.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/textit.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/title.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/tset.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/tsetsl.mf
/usr/share/texlive/texmf-dist/fonts/source/public/cm/white_setup.mf
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmb10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbcsc10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbsy10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx5.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx6.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx7.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbxsl10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbxti10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmcsc10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmdunh10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmff10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmfi10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmfib8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cminch.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmitt10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi5.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi7.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmib10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr5.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr6.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr7.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsl10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsl12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsl8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsl9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsltt10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmss10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmss12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmss17.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmss8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmss9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssbx10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssdc10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssi10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssi12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssi17.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssi8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssi9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssq8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmssqi8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy5.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy7.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtcsc10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtex10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtex8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtex9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti7.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmu10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmvtt10.tfm

References

Summary

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