How To Install texlive-type1cm on CentOS 8

texlive-type1cm is Arbitrary size font selection in LaTeX

Introduction

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

What is texlive-type1cm

LaTeX, by default, restricts the sizes at which you can use its default computer modern fonts, to a fixed set of discrete sizes (effectively, a set specified by Knuth). The type1cm package removes this restriction; this is particularly useful when using scalable versions of the cm fonts (Bakoma, or the versions from BSR/Y&Y, or True Type versions from Kinch, PCTeX, etc.). In fact, since modern distributions will automatically generate any bitmap font you might need, type1cm has wider application than just those using scaleable versions of the fonts. Note that the LaTeX distribution now contains a package fix-cm, which performs the task of type1cm, as well as doing the same job for T1- and TS1-encoded ec fonts.

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

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

sudo dnf -y install texlive-type1cm

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

sudo yum -y install texlive-type1cm

How To Uninstall texlive-type1cm on CentOS 8

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

sudo dnf remove texlive-type1cm

texlive-type1cm Package Contents on CentOS 8

/usr/share/licenses/texlive-type1cm
/usr/share/licenses/texlive-type1cm/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/type1cm
/usr/share/texlive/texmf-dist/doc/latex/type1cm/type1cm-doc.pdf
/usr/share/texlive/texmf-dist/doc/latex/type1cm/type1cm-doc.tex
/usr/share/texlive/texmf-dist/doc/latex/type1cm/type1cm.txt
/usr/share/texlive/texmf-dist/tex/latex/type1cm
/usr/share/texlive/texmf-dist/tex/latex/type1cm/type1cm.sty

References

Summary

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