How To Install texlive-kpathsea on CentOS 8

texlive-kpathsea is Path searching library for TeX-related files

Introduction

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

What is texlive-kpathsea

Kpathsea is a library and utility programs which provide path searching facilities for TeX file types, including the self- locating feature required for movable installations, layered on top of a general search mechanism. It is not distributed separately, but rather is released and maintained as part of the TeX live sources.

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

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

sudo dnf -y install texlive-kpathsea

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

sudo yum -y install texlive-kpathsea

How To Uninstall texlive-kpathsea on CentOS 8

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

sudo dnf remove texlive-kpathsea

texlive-kpathsea Package Contents on CentOS 8

/etc/texlive/web2c/fmtutil.cnf
/etc/texlive/web2c/mktex.cnf
/etc/texlive/web2c/texmf.cnf
/usr/bin/kpseaccess
/usr/bin/kpsereadlink
/usr/bin/kpsestat
/usr/bin/kpsewhich
/usr/bin/mkocp
/usr/bin/mkofm
/usr/bin/mktexfmt
/usr/bin/mktexlsr
/usr/bin/mktexmf
/usr/bin/mktexpk
/usr/bin/mktextfm
/usr/bin/texhash
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/de7a617c6299428e8278dd19443acf4f79eff3
/usr/lib/.build-id/31
/usr/lib/.build-id/31/c1452046bbea6bf11509ecec26ede761cae4bb
/usr/lib/.build-id/60
/usr/lib/.build-id/60/de0cfefea07aa0f1a7910e914bf7bd1a5567cd
/usr/lib/.build-id/72
/usr/lib/.build-id/72/32719c7b282e1f426a191bb0488a4eacfdd2c2
/usr/share/info/kpathsea.info.gz
/usr/share/info/tds.info.gz
/usr/share/info/web2c.info.gz
/usr/share/licenses/texlive-kpathsea
/usr/share/licenses/texlive-kpathsea/lgpl2.1.txt
/usr/share/man/man1/kpseaccess.1.gz
/usr/share/man/man1/kpsereadlink.1.gz
/usr/share/man/man1/kpsestat.1.gz
/usr/share/man/man1/kpsewhich.1.gz
/usr/share/man/man1/mkocp.1.gz
/usr/share/man/man1/mkofm.1.gz
/usr/share/man/man1/mktexfmt.1.gz
/usr/share/man/man1/mktexlsr.1.gz
/usr/share/man/man1/mktexmf.1.gz
/usr/share/man/man1/mktexpk.1.gz
/usr/share/man/man1/mktextfm.1.gz
/usr/share/man/man1/texhash.1.gz
/usr/share/texlive/texmf-dist/doc/kpathsea
/usr/share/texlive/texmf-dist/doc/kpathsea/kpathsea.html
/usr/share/texlive/texmf-dist/doc/kpathsea/kpathsea.pdf
/usr/share/texlive/texmf-dist/doc/web2c
/usr/share/texlive/texmf-dist/doc/web2c/web2c.html
/usr/share/texlive/texmf-dist/doc/web2c/web2c.pdf
/usr/share/texlive/texmf-dist/web2c/amiga-pl.tcx
/usr/share/texlive/texmf-dist/web2c/cp1250cs.tcx
/usr/share/texlive/texmf-dist/web2c/cp1250pl.tcx
/usr/share/texlive/texmf-dist/web2c/cp1250t1.tcx
/usr/share/texlive/texmf-dist/web2c/cp227.tcx
/usr/share/texlive/texmf-dist/web2c/cp852-cs.tcx
/usr/share/texlive/texmf-dist/web2c/cp852-pl.tcx
/usr/share/texlive/texmf-dist/web2c/cp8bit.tcx
/usr/share/texlive/texmf-dist/web2c/empty.tcx
/usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
/usr/share/texlive/texmf-dist/web2c/il1-t1.tcx
/usr/share/texlive/texmf-dist/web2c/il2-cs.tcx
/usr/share/texlive/texmf-dist/web2c/il2-pl.tcx
/usr/share/texlive/texmf-dist/web2c/il2-t1.tcx
/usr/share/texlive/texmf-dist/web2c/kam-cs.tcx
/usr/share/texlive/texmf-dist/web2c/kam-t1.tcx
/usr/share/texlive/texmf-dist/web2c/macce-pl.tcx
/usr/share/texlive/texmf-dist/web2c/macce-t1.tcx
/usr/share/texlive/texmf-dist/web2c/maz-pl.tcx
/usr/share/texlive/texmf-dist/web2c/mktex.cnf
/usr/share/texlive/texmf-dist/web2c/mktex.opt
/usr/share/texlive/texmf-dist/web2c/mktexdir
/usr/share/texlive/texmf-dist/web2c/mktexdir.opt
/usr/share/texlive/texmf-dist/web2c/mktexnam
/usr/share/texlive/texmf-dist/web2c/mktexnam.opt
/usr/share/texlive/texmf-dist/web2c/mktexupd
/usr/share/texlive/texmf-dist/web2c/natural.tcx
/usr/share/texlive/texmf-dist/web2c/tcvn-t5.tcx
/usr/share/texlive/texmf-dist/web2c/texmf.cnf
/usr/share/texlive/texmf-dist/web2c/viscii-t5.tcx

References

Summary

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