How To Install texlive-amsmath on CentOS 7

In this tutorial we learn how to install texlive-amsmath on CentOS 7. texlive-amsmath is AMS mathematical facilities for LaTeX

Introduction

In this tutorial we learn how to install texlive-amsmath on CentOS 7.

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. date

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

Install texlive-amsmath on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-amsmath

Install texlive-amsmath on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install texlive-amsmath

How To Uninstall texlive-amsmath on CentOS 7

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 CentOS 7 using yum and dnf.