How To Install texlive-theoremref on Fedora 36

In this tutorial we learn how to install texlive-theoremref in Fedora 36. texlive-theoremref is References with automatic theorem names

Introduction

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

What is texlive-theoremref

The theoremref package provides variants of the \label and \ref commands for theorem-like environments, capable of automatically typesetting references including the theorem name (apart from the theorem number). The scheme is particularly valuable if the author decides to change a lemma to a proposition or a theorem (or whatever).

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

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

sudo dnf -y install texlive-theoremref

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

sudo yum -y install texlive-theoremref

How To Uninstall texlive-theoremref on Fedora 36

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

sudo dnf remove texlive-theoremref

texlive-theoremref Package Contents on Fedora 36

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

References

Summary

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