How To Install texlive-unitsdef on Fedora 36

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

Introduction

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

What is texlive-unitsdef

Many packages for typesetting units have been written for use in LaTeX2e. Some define macros to typeset a lot of units but do not suit to the actual font settings, some make the characters needed available but do not predefine any unit. This package tries to comply with both requirements. It predefines common units, defines an easy to use interface to define new units and changes the output concerning to the surrounding font settings.

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

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

sudo dnf -y install texlive-unitsdef

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

sudo yum -y install texlive-unitsdef

How To Uninstall texlive-unitsdef on Fedora 36

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

sudo dnf remove texlive-unitsdef

texlive-unitsdef Package Contents on Fedora 36

/usr/share/licenses/texlive-unitsdef
/usr/share/licenses/texlive-unitsdef/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/unitsdef
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/ampabbrv.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/enerabbr.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/freqabbr.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/lengabbr.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/molabbrv.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/timeabbr.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/unitsdef.sty
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/volabbrv.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/voltabbr.cfg
/usr/share/texlive/texmf-dist/tex/latex/unitsdef/weigabbr.cfg

References

Summary

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