How To Install texlive-chklref on Fedora 36

In this tutorial we learn how to install texlive-chklref in Fedora 36. texlive-chklref is Check for problems with labels in LaTeX

Introduction

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

What is texlive-chklref

It is quite common that after modifying a TeX file, many unused labels remain in it. The purpose of chklref is to automatically find these useless labels. It also looks for “non starred” mathematical environments with no labels and advises the user to use a starred version instead.

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

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

sudo dnf -y install texlive-chklref

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

sudo yum -y install texlive-chklref

How To Uninstall texlive-chklref on Fedora 36

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

sudo dnf remove texlive-chklref

texlive-chklref Package Contents on Fedora 36

/usr/bin/chklref
/usr/share/licenses/texlive-chklref
/usr/share/licenses/texlive-chklref/gpl3.txt
/usr/share/man/man1/chklref.1.gz
/usr/share/texlive/texmf-dist/doc/support/chklref
/usr/share/texlive/texmf-dist/doc/support/chklref/Makefile.doc
/usr/share/texlive/texmf-dist/doc/support/chklref/README.md
/usr/share/texlive/texmf-dist/doc/support/chklref/VERSION
/usr/share/texlive/texmf-dist/doc/support/chklref/chklref.pdf
/usr/share/texlive/texmf-dist/doc/support/chklref/chklref.tex
/usr/share/texlive/texmf-dist/doc/support/chklref/release.sh
/usr/share/texlive/texmf-dist/scripts/chklref
/usr/share/texlive/texmf-dist/scripts/chklref/chklref.pl
/usr/share/texlive/texmf-dist/tex/latex/chklref
/usr/share/texlive/texmf-dist/tex/latex/chklref/chklref.sty

References

Summary

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