How To Install texlive-fmtcount on CentOS 8

texlive-fmtcount is Display the value of a LaTeX counter in a variety of formats

Introduction

In this tutorial we learn how to install texlive-fmtcount on CentOS 8.

What is texlive-fmtcount

The package provides commands that display the value of a LaTeX counter in a variety of formats (ordinal, text, hexadecimal, decimal, octal, binary etc). The package offers some multilingual support; configurations for use in English (both British and American usage), French (including Belgian and Swiss variants), German, Italian, Portuguese and Spanish documents are provided. This package was originally provided as part of the author’s datetime package, but is now distributed separately.

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

Install texlive-fmtcount on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-fmtcount using dnf by running the following command:

sudo dnf -y install texlive-fmtcount

Install texlive-fmtcount on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-fmtcount using yum by running the following command:

sudo yum -y install texlive-fmtcount

How To Uninstall texlive-fmtcount on CentOS 8

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

sudo dnf remove texlive-fmtcount

texlive-fmtcount Package Contents on CentOS 8

/usr/share/licenses/texlive-fmtcount
/usr/share/licenses/texlive-fmtcount/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/fmtcount
/usr/share/texlive/texmf-dist/doc/latex/fmtcount/CHANGES
/usr/share/texlive/texmf-dist/doc/latex/fmtcount/README
/usr/share/texlive/texmf-dist/doc/latex/fmtcount/fc-lang.tex
/usr/share/texlive/texmf-dist/doc/latex/fmtcount/fc-typeout-languages.tex
/usr/share/texlive/texmf-dist/doc/latex/fmtcount/fmtcount.pdf
/usr/share/texlive/texmf-dist/scripts/fmtcount
/usr/share/texlive/texmf-dist/scripts/fmtcount/fmtcount.perl
/usr/share/texlive/texmf-dist/tex/latex/fmtcount
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-USenglish.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-american.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-british.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-english.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-francais.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-french.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-frenchb.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-german.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-germanb.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-italian.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-ngerman.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-ngermanb.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-portuges.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-portuguese.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fc-spanish.def
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fcnumparser.sty
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fcprefix.sty
/usr/share/texlive/texmf-dist/tex/latex/fmtcount/fmtcount.sty

References

Summary

In this tutorial we learn how to install texlive-fmtcount on CentOS 8 using yum and dnf.