How To Install texlive-mathtools on Rocky Linux 8

In this tutorial we learn how to install texlive-mathtools on Rocky Linux 8. texlive-mathtools is Mathematical tools to use with amsmath

Introduction

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

What is texlive-mathtools

Mathtools provides a series of packages designed to enhance the appearance of documents containing a lot of mathematics. The main backbone is amsmath, so those unfamiliar with this required part of the LaTeX system will probably not find the packages very useful. Mathtools provides many useful tools for mathematical typesetting. It is based on amsmath and fixes various deficiencies of amsmath and standard LaTeX. It provides harpoons, etc.; Various symbols such as \coloneqq ( creation of new tag forms; Showing equation numbers only for referenced equations; Extensible arrows, harpoons and hookarrows; Starred versions of the amsmath matrix environments for specifying the column alignment; More building blocks multlined, cases-like environments, new gathered environments; Maths versions of \makebox, \llap, \rlap etc.; Cramped math styles; and more… Mathtools requires mhsetup.

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

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

sudo dnf -y install texlive-mathtools

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

sudo yum -y install texlive-mathtools

How To Uninstall texlive-mathtools on Rocky Linux 8

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

sudo dnf remove texlive-mathtools

texlive-mathtools Package Contents on Rocky Linux 8

/usr/share/licenses/texlive-mathtools
/usr/share/licenses/texlive-mathtools/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/mathtools
/usr/share/texlive/texmf-dist/doc/latex/mathtools/README
/usr/share/texlive/texmf-dist/doc/latex/mathtools/empheq.pdf
/usr/share/texlive/texmf-dist/doc/latex/mathtools/mathtools.pdf
/usr/share/texlive/texmf-dist/doc/latex/mathtools/mhsetup.pdf
/usr/share/texlive/texmf-dist/tex/latex/mathtools
/usr/share/texlive/texmf-dist/tex/latex/mathtools/empheq.sty
/usr/share/texlive/texmf-dist/tex/latex/mathtools/mathtools.sty
/usr/share/texlive/texmf-dist/tex/latex/mathtools/mhsetup.sty

References

Summary

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