How To Install texlive-amsmath on Rocky Linux 8

In this tutorial we learn how to install texlive-amsmath on Rocky Linux 8. texlive-amsmath is AMS mathematical facilities for LaTeX

Introduction

In this tutorial we learn how to install texlive-amsmath on Rocky Linux 8.

What is texlive-amsmath

The package provides the principal packages in the AMS-LaTeX distribution. It adapts for use in LaTeX most of the mathematical features found in AMS-TeX; it is highly recommendsd as an adjunct to serious mathematical typesetting in LaTeX. When amsmath is loaded, AMS-LaTeX packages amsbsy (for bold symbols), amsopn (for operator names) and amstext (for text embdedded in mathematics) are also loaded. Amsmath is part of the LaTeX required distribution; however, several contributed packages add still further to its appeal; examples are empheq, which provides functions for decorating and highlighting mathematics, and ntheorem, for specifying theorem (and similar) definitions.

We can use yum or dnf to install texlive-amsmath on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-amsmath.

Install texlive-amsmath on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-amsmath using dnf by running the following command:

sudo dnf -y install texlive-amsmath

Install texlive-amsmath on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-amsmath using yum by running the following command:

sudo yum -y install texlive-amsmath

How To Uninstall texlive-amsmath on Rocky Linux 8

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

sudo dnf remove texlive-amsmath

texlive-amsmath Package Contents on Rocky Linux 8

/usr/share/licenses/texlive-amsmath
/usr/share/licenses/texlive-amsmath/lppl1.txt
/usr/share/texlive/texmf-dist/doc/latex/amsmath
/usr/share/texlive/texmf-dist/doc/latex/amsmath/README.txt
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsbsy.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amscd.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsgen.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsldoc.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsldoc.tex
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsmath.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsopn.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amstext.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/amsxtra.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/changes.txt
/usr/share/texlive/texmf-dist/doc/latex/amsmath/diffs-m.txt
/usr/share/texlive/texmf-dist/doc/latex/amsmath/manifest.txt
/usr/share/texlive/texmf-dist/doc/latex/amsmath/subeqn.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/subeqn.tex
/usr/share/texlive/texmf-dist/doc/latex/amsmath/technote.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/technote.tex
/usr/share/texlive/texmf-dist/doc/latex/amsmath/testmath.pdf
/usr/share/texlive/texmf-dist/doc/latex/amsmath/testmath.tex
/usr/share/texlive/texmf-dist/tex/latex/amsmath
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amscd.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstex.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsxtra.sty

References

Summary

In this tutorial we learn how to install texlive-amsmath on Rocky Linux 8 using yum and dnf.