How To Install texlive-unicode-math on CentOS 8

texlive-unicode-math is Unicode mathematics support for XeTeX and LuaTeX

Introduction

In this tutorial we learn how to install texlive-unicode-math on CentOS 8.

What is texlive-unicode-math

The current release of this package typesets mathematics with unicode input and using OpenType maths fonts. (There is little compatibility with older maths packages.) XeTeX support is well tested, though LuaTeX support less so. The package can typeset using STIX fonts, the XITS development of those fonts, the Asana-Math fonts, the Latin Modern Math, and the TeX Gyre Math font familiess, as well as the commercial Cambria Math fonts. There is no support for extra alphabets in the Unicode ‘private use area’. The package relies on recent versions of the fontspec package and the l3kernel and l3packages bundles.

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

Install texlive-unicode-math 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-unicode-math using dnf by running the following command:

sudo dnf -y install texlive-unicode-math

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

sudo yum -y install texlive-unicode-math

How To Uninstall texlive-unicode-math on CentOS 8

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

sudo dnf remove texlive-unicode-math

texlive-unicode-math Package Contents on CentOS 8

/usr/share/licenses/texlive-unicode-math
/usr/share/licenses/texlive-unicode-math/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/unicode-math
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/CHANGES.md
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/CONTRIBUTING.md
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/README.md
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/unicode-math-doc.tex
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/unicode-math.pdf
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/unimath-example.ltx
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/unimath-symbols.ltx
/usr/share/texlive/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf
/usr/share/texlive/texmf-dist/tex/latex/unicode-math
/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.sty
/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-table.tex
/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math-xetex.sty
/usr/share/texlive/texmf-dist/tex/latex/unicode-math/unicode-math.sty

References

Summary

In this tutorial we learn how to install texlive-unicode-math on CentOS 8 using yum and dnf.