How To Install texlive-mathlig on Fedora 36

In this tutorial we learn how to install texlive-mathlig in Fedora 36. texlive-mathlig is Define maths “ligatures”

Introduction

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

What is texlive-mathlig

The package defines character sequences that “behave like” ligatures, in maths mode. Example definitions (chosen to show the package’s flexibility, are \mathlig{<-}{\leftarrow} \mathlig{<->}{\leftrightarrow}

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

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

sudo dnf -y install texlive-mathlig

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

sudo yum -y install texlive-mathlig

How To Uninstall texlive-mathlig on Fedora 36

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

sudo dnf remove texlive-mathlig

texlive-mathlig Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/tex/generic/mathlig
/usr/share/texlive/texmf-dist/tex/generic/mathlig/mathlig.tex

References

Summary

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