How To Install texlive-totpages on Fedora 36

In this tutorial we learn how to install texlive-totpages in Fedora 36. texlive-totpages is Count pages in a document, and report last page number

Introduction

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

What is texlive-totpages

The package counts the actual pages in the document (as opposed to reporting the number of the last page, as does lastpage). The counter itself may be shipped out to the DVI file. The package uses the everyshi package for its task.

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

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

sudo dnf -y install texlive-totpages

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

sudo yum -y install texlive-totpages

How To Uninstall texlive-totpages on Fedora 36

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

sudo dnf remove texlive-totpages

texlive-totpages Package Contents on Fedora 36

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

References

Summary

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