How To Install texlive-unicode-math on CentOS 7

In this tutorial we learn how to install texlive-unicode-math on CentOS 7. 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 7.

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

We can use yum or dnf to install texlive-unicode-math on CentOS 7. 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 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-unicode-math

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

sudo dnf -y install texlive-unicode-math

How To Uninstall texlive-unicode-math on CentOS 7

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

sudo dnf remove texlive-unicode-math

References

Summary

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