How To Install texlive-texcount on Fedora 36

In this tutorial we learn how to install texlive-texcount in Fedora 36. texlive-texcount is Count words in a LaTeX document

Introduction

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

What is texlive-texcount

TeXcount is a Perl script that counts words in the text of LaTeX files. It has rules for handling most of the common macros, and can provide colour-coded output showing which parts of the text have been counted. The package script is available as a Web service via its home page.

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

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

sudo dnf -y install texlive-texcount

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

sudo yum -y install texlive-texcount

How To Uninstall texlive-texcount on Fedora 36

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

sudo dnf remove texlive-texcount

texlive-texcount Package Contents on Fedora 36

/usr/bin/texcount
/usr/share/licenses/texlive-texcount
/usr/share/licenses/texlive-texcount/lppl1.txt
/usr/share/texlive/texmf-dist/doc/support/texcount
/usr/share/texlive/texmf-dist/doc/support/texcount/README.md
/usr/share/texlive/texmf-dist/doc/support/texcount/doc
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/QuickReference.pdf
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/QuickReference.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/TeXcount.pdf
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/TeXcount.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/TechDoc.pdf
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/TechDoc.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/macros.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/sub_addrules.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/sub_options.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/sub_ruletypes.tex
/usr/share/texlive/texmf-dist/doc/support/texcount/doc/sub_tc_other.tex
/usr/share/texlive/texmf-dist/scripts/texcount
/usr/share/texlive/texmf-dist/scripts/texcount/texcount.pl

References

Summary

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