How To Install texlive-sfmath on Fedora 36

In this tutorial we learn how to install texlive-sfmath in Fedora 36. texlive-sfmath is Sans-serif mathematics

Introduction

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

What is texlive-sfmath

sfmath is a simple package for sans serif maths in documents. After including the package, all maths of the current document is displayed with sans serif fonts.

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

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

sudo dnf -y install texlive-sfmath

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

sudo yum -y install texlive-sfmath

How To Uninstall texlive-sfmath on Fedora 36

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

sudo dnf remove texlive-sfmath

texlive-sfmath Package Contents on Fedora 36

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

References

Summary

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