How To Install texlive-smartunits on Fedora 36

In this tutorial we learn how to install texlive-smartunits in Fedora 36. texlive-smartunits is Converting between common metric and Imperial units

Introduction

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

What is texlive-smartunits

This LaTeX package implements a \SmartUnit macro for converting between (some) metric and Imperial units. The package requires pgfkeys and siunitx.

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

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

sudo dnf -y install texlive-smartunits

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

sudo yum -y install texlive-smartunits

How To Uninstall texlive-smartunits on Fedora 36

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

sudo dnf remove texlive-smartunits

texlive-smartunits Package Contents on Fedora 36

/usr/share/licenses/texlive-smartunits
/usr/share/licenses/texlive-smartunits/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/smartunits
/usr/share/texlive/texmf-dist/tex/latex/smartunits/smartunits.sty

References

Summary

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