How To Install texlive-units on Fedora 36

In this tutorial we learn how to install texlive-units in Fedora 36. texlive-units is Typeset units

Introduction

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

What is texlive-units

The package is provided as a bundle with the nicefrac package for typing fractions. Units uses nicefrac in typesetting physical units in a standard-looking sort of way.

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

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

sudo dnf -y install texlive-units

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

sudo yum -y install texlive-units

How To Uninstall texlive-units on Fedora 36

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

sudo dnf remove texlive-units

texlive-units Package Contents on Fedora 36

/usr/share/licenses/texlive-units
/usr/share/licenses/texlive-units/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/units
/usr/share/texlive/texmf-dist/tex/latex/units/nicefrac.sty
/usr/share/texlive/texmf-dist/tex/latex/units/units.sty

References

Summary

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