How To Install texlive-hyperref on CentOS 8

texlive-hyperref is Extensive support for hypertext in LaTeX

Introduction

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

What is texlive-hyperref

The hyperref package is used to handle cross-referencing commands in LaTeX to produce hypertext links in the document. The package provides backends for the \special set defined for HyperTeX DVI processors; for embedded pdfmark commands for processing by Acrobat Distiller (dvips and Y&Y’s dvipsone); for Y&Y’s dviwindo; for PDF control within pdfTeX and dvipdfm; for TeX4ht; and for VTeX’s pdf and HTML backends. The package is distributed with the backref and nameref packages, which make use of the facilities of hyperref. The package depends on the author’s kvoptions, ltxcmdsand refcount packages.

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

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

sudo dnf -y install texlive-hyperref

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

sudo yum -y install texlive-hyperref

How To Uninstall texlive-hyperref on CentOS 8

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

sudo dnf remove texlive-hyperref

texlive-hyperref Package Contents on CentOS 8

/usr/share/licenses/texlive-hyperref
/usr/share/licenses/texlive-hyperref/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/hyperref
/usr/share/texlive/texmf-dist/doc/latex/hyperref/ChangeLog
/usr/share/texlive/texmf-dist/doc/latex/hyperref/ChangeLog.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/README
/usr/share/texlive/texmf-dist/doc/latex/hyperref/README.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/backref.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/cmmi10-22.gif
/usr/share/texlive/texmf-dist/doc/latex/hyperref/cmsy10-21.gif
/usr/share/texlive/texmf-dist/doc/latex/hyperref/hyperref.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/manual.css
/usr/share/texlive/texmf-dist/doc/latex/hyperref/manual.html
/usr/share/texlive/texmf-dist/doc/latex/hyperref/manual.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/manual2.html
/usr/share/texlive/texmf-dist/doc/latex/hyperref/manual3.html
/usr/share/texlive/texmf-dist/doc/latex/hyperref/nameref.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/options.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/paper.pdf
/usr/share/texlive/texmf-dist/doc/latex/hyperref/slides.pdf
/usr/share/texlive/texmf-dist/tex/latex/hyperref
/usr/share/texlive/texmf-dist/tex/latex/hyperref/backref.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdvipdfm.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdvips.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdvipson.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdviwind.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hluatex.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/htex4ht.cfg
/usr/share/texlive/texmf-dist/tex/latex/hyperref/htex4ht.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/htexture.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hvtex.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hvtexhtm.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hvtexmrk.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hylatex.ltx
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/hypertex.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/minitoc-hyper.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/nohyperref.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/ntheorem-hyper.sty
/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/pdfmark.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/psdextra.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/puarenc.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/puvnenc.def
/usr/share/texlive/texmf-dist/tex/latex/hyperref/xr-hyper.sty

References

Summary

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