How To Install texlive-amsmath on AlmaLinux 8

In this tutorial we learn how to install texlive-amsmath in AlmaLinux 8. texlive-amsmath is AMS mathematical facilities for LaTeX

Introduction

In this tutorial we learn how to install texlive-amsmath on AlmaLinux 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 AlmaLinux 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 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-amsmath using dnf by running the following command:

sudo dnf -y install texlive-amsmath

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

sudo yum -y install texlive-amsmath

How To Uninstall texlive-amsmath on AlmaLinux 8

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

sudo dnf remove texlive-amsmath

References

Summary

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