How To Install texlive-refcount on Fedora 36

In this tutorial we learn how to install texlive-refcount in Fedora 36. texlive-refcount is Counter operations with label references

Introduction

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

What is texlive-refcount

Provides commands \setcounterref and \addtocounterref which use the section (or whatever) number from the reference as the value to put into the counter, as in \setcounterref{foonum}{sec \addtocounterpageref do the corresponding thing with the page reference of the label. No .ins file is distributed; process the .dtx with plain TeX to create one.

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

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

sudo dnf -y install texlive-refcount

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

sudo yum -y install texlive-refcount

How To Uninstall texlive-refcount on Fedora 36

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

sudo dnf remove texlive-refcount

texlive-refcount Package Contents on Fedora 36

/usr/share/licenses/texlive-refcount
/usr/share/licenses/texlive-refcount/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/refcount
/usr/share/texlive/texmf-dist/doc/latex/refcount/README.md
/usr/share/texlive/texmf-dist/doc/latex/refcount/refcount.pdf
/usr/share/texlive/texmf-dist/tex/latex/refcount
/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty

References

Summary

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