How To Install texlive-latex-fonts on CentOS 8
Introduction
In this tutorial we learn how to install texlive-latex-fonts on CentOS 8.
What is texlive-latex-fonts
This is a collection of fonts for use with standard latex packages and classes. It includes ‘invisible’ fonts (for use with the slides class), line and circle fonts (for use in the picture environment) and ’latex symbol’ fonts. For full support of a latex installation, some Computer Modern font variants cmbsy(6-9), cmcsc(8,9), cmex(7-9) and cmmib(5-9) from the amsfonts distribution, are also necessary. The fonts are available as Metafont source, and metric (tfm) files are also provided. Most of the fonts are also available in Adobe Type 1 format, in the amsfonts distribution.
We can use yum or dnf to install texlive-latex-fonts on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-latex-fonts.
Install texlive-latex-fonts on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install texlive-latex-fonts using yum by running the following command:
sudo yum -y install texlive-latex-fonts
Install texlive-latex-fonts on CentOS 8 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-latex-fonts using dnf by running the following command:
sudo dnf -y install texlive-latex-fonts
How To Uninstall texlive-latex-fonts on CentOS 8
To uninstall only the texlive-latex-fonts package we can use the following command:
sudo dnf remove texlive-latex-fonts
References
Summary
In this tutorial we learn how to install texlive-latex-fonts on CentOS 8 using yum and dnf.