How To Install texlive-amsmath on CentOS 8
Introduction
In this tutorial we learn how to install texlive-amsmath
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the texlive-amsmath
package we can use the following command:
sudo dnf remove texlive-amsmath
texlive-amsmath Package Contents on CentOS 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 CentOS 8 using yum and dnf.