How To Install ghc-texmath on Fedora 36

In this tutorial we learn how to install ghc-texmath in Fedora 36. ghc-texmath is Conversion between formats used to represent mathematics

Introduction

In this tutorial we learn how to install ghc-texmath on Fedora 36.

What is ghc-texmath

The texmath library provides functions to read and write TeX math, presentation MathML, and OMML (Office Math Markup Language, used in Microsoft Office). Support is also included for converting math formats to Gnu eqn and to pandoc’s native format (allowing conversion, via pandoc, to a variety of different markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros. (See <http for a live demo of bidirectional conversion between LaTeX and MathML.)

We can use yum or dnf to install ghc-texmath on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-texmath.

Install ghc-texmath on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-texmath using dnf by running the following command:

sudo dnf -y install ghc-texmath

Install ghc-texmath on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-texmath using yum by running the following command:

sudo yum -y install ghc-texmath

How To Uninstall ghc-texmath on Fedora 36

To uninstall only the ghc-texmath package we can use the following command:

sudo dnf remove ghc-texmath

ghc-texmath Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/8e6cc67d5728d51054067ff3265defcace4b65
/usr/lib64/libHStexmath-0.12.3-AfWJ9Q8jczJ1ZsaR9GWJGg-ghc8.10.5.so
/usr/share/licenses/ghc-texmath
/usr/share/licenses/ghc-texmath/LICENSE

References

Summary

In this tutorial we learn how to install ghc-texmath on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).