How To Install texlive-hypernat on Fedora 36

In this tutorial we learn how to install texlive-hypernat in Fedora 36. texlive-hypernat is Allow hyperref and natbib to work together

Introduction

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

What is texlive-hypernat

Allows hyperref package and the natbib package with options ’numbers’ and ‘sort&compress’ to work together. This means that multiple sequential citations (e.g [3,2,1]) will be compressed to [1-3], where the ‘1’ and the ‘3’ are (color-)linked to the bibliography.

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

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

sudo dnf -y install texlive-hypernat

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

sudo yum -y install texlive-hypernat

How To Uninstall texlive-hypernat on Fedora 36

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

sudo dnf remove texlive-hypernat

texlive-hypernat Package Contents on Fedora 36

/usr/share/licenses/texlive-hypernat
/usr/share/licenses/texlive-hypernat/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/hypernat
/usr/share/texlive/texmf-dist/tex/latex/hypernat/hypernat.sty

References

Summary

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