How To Install texlive-hrefhide on Fedora 36

In this tutorial we learn how to install texlive-hrefhide in Fedora 36. texlive-hrefhide is Suppress hyper links when printing

Introduction

In this tutorial we learn how to install texlive-hrefhide on Fedora 36.

What is texlive-hrefhide

This package provides the command \hrefdisplayonly (which provides a substitute for \href). While the (hyperlinked) text appears like an ordinary \href in the compiled PDF file, the same text will be “hidden” when printing the text. (Hiding is actually achieved by making the text the same colour as the background, thus preserving the layout of the rest of the text.)

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

Install texlive-hrefhide on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-hrefhide using dnf by running the following command:

sudo dnf -y install texlive-hrefhide

Install texlive-hrefhide on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-hrefhide using yum by running the following command:

sudo yum -y install texlive-hrefhide

How To Uninstall texlive-hrefhide on Fedora 36

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

sudo dnf remove texlive-hrefhide

texlive-hrefhide Package Contents on Fedora 36

/usr/share/licenses/texlive-hrefhide
/usr/share/licenses/texlive-hrefhide/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/hrefhide
/usr/share/texlive/texmf-dist/tex/latex/hrefhide/hrefhide.sty

References

Summary

In this tutorial we learn how to install texlive-hrefhide on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).