How To Install texlive-lib on CentOS 8

texlive-lib is Shared libraries for TeX-related files Shared libraries for TeX-related files

Introduction

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

What is texlive-lib

TeX specific shared libraries. texlive-lib 7 20180414 20.el8 x86_64 541 k texlive-20180414-20.el8.src.rpm appstream Shared libraries for TeX-related files http Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia TeX specific shared libraries.

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

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

sudo dnf -y install texlive-lib

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

sudo yum -y install texlive-lib

How To Uninstall texlive-lib on CentOS 8

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

sudo dnf remove texlive-lib

texlive-lib Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/95257b281a2ec25453d4cdda808f27b99edc87
/usr/lib/.build-id/58
/usr/lib/.build-id/58/7ccda75499eb040e1175a9488f14fd7309ddb9
/usr/lib/.build-id/71
/usr/lib/.build-id/71/f1a6242598f38bcd936e453bb5f0b4bbcbefe6
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/8a16570f9fccc13411e69f1a69d90b01a85125
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/102b80c530d2aca338e89551ff2c941b5be5ca
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/6daa2aa7aa3455ff101ef208c2994b834ca3c8
/usr/lib64/libkpathsea.so.6
/usr/lib64/libkpathsea.so.6.3.0
/usr/lib64/libptexenc.so.1
/usr/lib64/libptexenc.so.1.3.6
/usr/lib64/libsynctex.so.1
/usr/lib64/libsynctex.so.1.21.0
/usr/lib64/libtexlua52.so.5
/usr/lib64/libtexlua52.so.5.2.4
/usr/lib64/libtexlua53.so.5
/usr/lib64/libtexlua53.so.5.3.4
/usr/lib64/libtexluajit.so.2
/usr/lib64/libtexluajit.so.2.1.0
/usr/share/texlive/texmf-config
/usr/share/texlive/texmf-config/ls-R
/usr/share/texlive/texmf-config/web2c
/usr/share/texlive/texmf-config/web2c/updmap.cfg
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/5450863a8a47756779950fd450f9293e3e3322
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/caadebd5cebe62e1e381e5b62b05157e322a7a
/usr/lib/.build-id/81
/usr/lib/.build-id/81/a0406a928e83594ee720cc0597a3eed6ec039d
/usr/lib/.build-id/90
/usr/lib/.build-id/90/945cd3c1891fa8cc17a18cb8d85087f4800049
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/a76dae57a47d10d81508789a98b79a10e66703
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/1a10295ed7d04ba24e5f6496e37a50a102a27d
/usr/lib/libkpathsea.so.6
/usr/lib/libkpathsea.so.6.3.0
/usr/lib/libptexenc.so.1
/usr/lib/libptexenc.so.1.3.6
/usr/lib/libsynctex.so.1
/usr/lib/libsynctex.so.1.21.0
/usr/lib/libtexlua52.so.5
/usr/lib/libtexlua52.so.5.2.4
/usr/lib/libtexlua53.so.5
/usr/lib/libtexlua53.so.5.3.4
/usr/lib/libtexluajit.so.2
/usr/lib/libtexluajit.so.2.1.0
/usr/share/texlive/texmf-config
/usr/share/texlive/texmf-config/ls-R
/usr/share/texlive/texmf-config/web2c
/usr/share/texlive/texmf-config/web2c/updmap.cfg

References

Summary

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