How To Install texlive-cmdtrack on Fedora 36

In this tutorial we learn how to install texlive-cmdtrack in Fedora 36. texlive-cmdtrack is Check used commands

Introduction

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

What is texlive-cmdtrack

The package keeps track of whether a command defined in a document preamble is actually used somewhere in the document. After the package is loaded in the preamble of a document, all \newcommand (and similar command definitions) between that point and the beginning of the document will be marked for logging. At the end of the document a report of command usage will be printed in the TeX log, for example line 25"; “ndash was never used”.

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

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

sudo dnf -y install texlive-cmdtrack

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

sudo yum -y install texlive-cmdtrack

How To Uninstall texlive-cmdtrack on Fedora 36

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

sudo dnf remove texlive-cmdtrack

texlive-cmdtrack Package Contents on Fedora 36

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

References

Summary

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