How To Install texlive-hepunits on Fedora 36

In this tutorial we learn how to install texlive-hepunits in Fedora 36. texlive-hepunits is A set of units useful in high energy physics applications

Introduction

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

What is texlive-hepunits

Hepunits is a LaTeX package built on the SIunits package which adds a collection of useful HEP units to the existing SIunits set. These include the energy units \MeV, \GeV, \TeV and the derived momentum and mass units \MeVoverc, \MeVovercsq and so on.

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

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

sudo dnf -y install texlive-hepunits

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

sudo yum -y install texlive-hepunits

How To Uninstall texlive-hepunits on Fedora 36

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

sudo dnf remove texlive-hepunits

texlive-hepunits Package Contents on Fedora 36

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

References

Summary

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