How To Install mathjax-ams-fonts on Rocky Linux 8

In this tutorial we learn how to install mathjax-ams-fonts on Rocky Linux 8. mathjax-ams-fonts is Fonts used by MathJax to display math in the browser

Introduction

In this tutorial we learn how to install mathjax-ams-fonts on Rocky Linux 8.

What is mathjax-ams-fonts

Fonts used by MathJax to display math in the browser.

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

Install mathjax-ams-fonts on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mathjax-ams-fonts

Install mathjax-ams-fonts on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mathjax-ams-fonts

How To Uninstall mathjax-ams-fonts on Rocky Linux 8

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

sudo dnf remove mathjax-ams-fonts

mathjax-ams-fonts Package Contents on Rocky Linux 8

/usr/share/fonts/mathjax
/usr/share/fonts/mathjax/MathJax_AMS-Regular.eot
/usr/share/fonts/mathjax/MathJax_AMS-Regular.otf
/usr/share/fonts/mathjax/MathJax_AMS-Regular.svg

References

Summary

In this tutorial we learn how to install mathjax-ams-fonts on Rocky Linux 8 using yum and dnf.