How To Install texlive-onlyamsmath on Fedora 36

In this tutorial we learn how to install texlive-onlyamsmath in Fedora 36. texlive-onlyamsmath is Inhibit use of non-amsmath mathematics markup when using amsmath

Introduction

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

What is texlive-onlyamsmath

This package inhibits the usage of plain TeX and (on demand) of standard LaTeX mathematics environments. This is useful for class writers who want to encourage their users to use the environments provided by the amsmath package.

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

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

sudo dnf -y install texlive-onlyamsmath

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

sudo yum -y install texlive-onlyamsmath

How To Uninstall texlive-onlyamsmath on Fedora 36

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

sudo dnf remove texlive-onlyamsmath

texlive-onlyamsmath Package Contents on Fedora 36

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

References

Summary

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