How To Install texlive-mathtools on AlmaLinux 8

In this tutorial we learn how to install texlive-mathtools in AlmaLinux 8. texlive-mathtools is Mathematical tools to use with amsmath

Introduction

In this tutorial we learn how to install texlive-mathtools on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove texlive-mathtools

References

Summary

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