How To Install texlive-numprint on Fedora 36

In this tutorial we learn how to install texlive-numprint in Fedora 36. texlive-numprint is Print numbers with separators and exponent if necessary

Introduction

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

What is texlive-numprint

The package numprint prints numbers with a separator every three digits and converts numbers given as 12345.6e789 to 12,345,6\cdot 10^{789}. Numbers are printed in the current mode (text or math) in order to use the correct font. Many things, including the decimal sign, the thousand separator, as well as the product sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}. If an optional argument is given it is printed upright as unit. Numbers can be rounded to a given number of digits. The package supports an automatic, language-dependent change of the number format. Tabular alignment using the tabular(*), array, tabularx, and longtable environments (similar to the dcolumn and rccol packages) is supported using all features of numprint. Additional text can be added before and after the formatted number.

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

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

sudo dnf -y install texlive-numprint

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

sudo yum -y install texlive-numprint

How To Uninstall texlive-numprint on Fedora 36

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

sudo dnf remove texlive-numprint

texlive-numprint Package Contents on Fedora 36

/usr/share/licenses/texlive-numprint
/usr/share/licenses/texlive-numprint/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/numprint
/usr/share/texlive/texmf-dist/tex/latex/numprint/nbaseprt.sty
/usr/share/texlive/texmf-dist/tex/latex/numprint/numprint.sty
/usr/share/texlive/texmf-dist/tex/latex/numprint/numprint032.sty

References

Summary

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