How To Install texlive-titleref on Fedora 36

In this tutorial we learn how to install texlive-titleref in Fedora 36. texlive-titleref is A “\titleref” command to cross-reference section titles

Introduction

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

What is texlive-titleref

Defines a command \titleref that allows you to cross-reference section (and chapter, etc) titles and captions just like \ref and \pageref. The package does not interwork with hyperref; if you need hypertext capabilities, use nameref instead.

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

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

sudo dnf -y install texlive-titleref

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

sudo yum -y install texlive-titleref

How To Uninstall texlive-titleref on Fedora 36

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

sudo dnf remove texlive-titleref

texlive-titleref Package Contents on Fedora 36

/usr/share/licenses/texlive-titleref
/usr/share/licenses/texlive-titleref/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/titleref
/usr/share/texlive/texmf-dist/tex/latex/titleref/titleref.sty

References

Summary

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