How To Install texlive-cntperchap on Fedora 36
Introduction
In this tutorial we learn how to install texlive-cntperchap
on Fedora 36.
What is texlive-cntperchap
This package stores values of counters (which have been registered beforehand) on a per chapter base and provides the values on demand in the 2nd LaTeX compilation run. In this way it is possible to know how many sections etc. there are lying ahead and to react to these counter values, if needed. This is a preliminary version that has been tested with book.cls, memoir.cls, and scrbook.cls. The packages assoccnt (by the same author) and xparse are needed as well.
We can use yum
or dnf
to install texlive-cntperchap
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-cntperchap.
Install texlive-cntperchap 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-cntperchap
using dnf
by running the following command:
sudo dnf -y install texlive-cntperchap
Install texlive-cntperchap 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-cntperchap
using yum
by running the following command:
sudo yum -y install texlive-cntperchap
How To Uninstall texlive-cntperchap on Fedora 36
To uninstall only the texlive-cntperchap
package we can use the following command:
sudo dnf remove texlive-cntperchap
texlive-cntperchap Package Contents on Fedora 36
/usr/share/licenses/texlive-cntperchap
/usr/share/licenses/texlive-cntperchap/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/cntperchap
/usr/share/texlive/texmf-dist/tex/latex/cntperchap/cntperchap.sty
References
Summary
In this tutorial we learn how to install texlive-cntperchap
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).