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

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

Introduction

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

What is mathjax-main-fonts

Fonts used by MathJax to display math in the browser.

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

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

sudo dnf -y install mathjax-main-fonts

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

sudo yum -y install mathjax-main-fonts

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

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

sudo dnf remove mathjax-main-fonts

mathjax-main-fonts Package Contents on Rocky Linux 8

/usr/share/fonts/mathjax
/usr/share/fonts/mathjax/MathJax_Main-Bold.eot
/usr/share/fonts/mathjax/MathJax_Main-Bold.otf
/usr/share/fonts/mathjax/MathJax_Main-Bold.svg
/usr/share/fonts/mathjax/MathJax_Main-Italic.eot
/usr/share/fonts/mathjax/MathJax_Main-Italic.otf
/usr/share/fonts/mathjax/MathJax_Main-Italic.svg
/usr/share/fonts/mathjax/MathJax_Main-Regular.eot
/usr/share/fonts/mathjax/MathJax_Main-Regular.otf
/usr/share/fonts/mathjax/MathJax_Main-Regular.svg

References

Summary

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