How To Install texlive-mathtools on CentOS 8
Introduction
In this tutorial we learn how to install texlive-mathtools
on CentOS 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 CentOS 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 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-mathtools
using dnf
by running the following command:
sudo dnf -y install texlive-mathtools
Install texlive-mathtools 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-mathtools
using yum
by running the following command:
sudo yum -y install texlive-mathtools
How To Uninstall texlive-mathtools on CentOS 8
To uninstall only the texlive-mathtools
package we can use the following command:
sudo dnf remove texlive-mathtools
texlive-mathtools Package Contents on CentOS 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 CentOS 8 using yum and dnf.