How To Install ghc-mustache on Fedora 36

In this tutorial we learn how to install ghc-mustache in Fedora 36. ghc-mustache is Haskell mustache library

Introduction

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

What is ghc-mustache

This package provides the Haskell mustache library.

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

Install ghc-mustache 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-mustache using dnf by running the following command:

sudo dnf -y install ghc-mustache

Install ghc-mustache 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-mustache using yum by running the following command:

sudo yum -y install ghc-mustache

How To Uninstall ghc-mustache on Fedora 36

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

sudo dnf remove ghc-mustache

ghc-mustache Package Contents on Fedora 36

/usr/bin/haskell-mustache
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/2fcf57894b2ac0da3f909719169f2c9857a88d
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/4680da817fbfcedf4d5a0dc5c88c0ae68365a2
/usr/lib64/libHSmustache-2.3.1-JmthNYsVVt24MqIRx0E3a-ghc8.10.5.so
/usr/share/licenses/ghc-mustache
/usr/share/licenses/ghc-mustache/LICENSE

References

Summary

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