How To Install mathjax-math-fonts on CentOS 7

In this tutorial we learn how to install mathjax-math-fonts on CentOS 7. mathjax-math-fonts is Fonts used by MathJax to display math in the browser

Introduction

In this tutorial we learn how to install mathjax-math-fonts on CentOS 7.

What is mathjax-math-fonts

Fonts used by MathJax to display math in the browser.

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

Install mathjax-math-fonts on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install mathjax-math-fonts

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

sudo dnf -y install mathjax-math-fonts

How To Uninstall mathjax-math-fonts on CentOS 7

To uninstall only the mathjax-math-fonts package we can use the following command:

sudo dnf remove mathjax-math-fonts

References

Summary

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