How To Install texlive-knuth-lib on CentOS 8

texlive-knuth-lib is A small library of MetaFont sources

Introduction

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

What is texlive-knuth-lib

A collection of miscellaneous MetaFont source, including the means to generate the logo font that is used for MetaFont and MetaPost.

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

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

sudo dnf -y install texlive-knuth-lib

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

sudo yum -y install texlive-knuth-lib

How To Uninstall texlive-knuth-lib on CentOS 8

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

sudo dnf remove texlive-knuth-lib

texlive-knuth-lib Package Contents on CentOS 8

/usr/share/licenses/texlive-knuth-lib
/usr/share/licenses/texlive-knuth-lib/knuth.txt
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/3test.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/6test.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/expr.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/grayf.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/io.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logo.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logo10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logo8.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logo9.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logobf10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/logosl10.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/manfnt.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/null.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/rtest.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/slant.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/test.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/waits.mf
/usr/share/texlive/texmf-dist/fonts/source/public/knuth-lib/ztest.mf
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/logo10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/logo8.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/logo9.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/logobf10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/logosl10.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/knuth-lib/manfnt.tfm
/usr/share/texlive/texmf-dist/tex/generic/knuth-lib
/usr/share/texlive/texmf-dist/tex/generic/knuth-lib/null.tex
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib/manmac.tex
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib/mftmac.tex
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib/story.tex
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib/testfont.tex
/usr/share/texlive/texmf-dist/tex/plain/knuth-lib/webmac.tex

References

Summary

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