How To Install ghc-microstache on Fedora 36

In this tutorial we learn how to install ghc-microstache in Fedora 36. ghc-microstache is Mustache templates for Haskell

Introduction

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

What is ghc-microstache

Mustache templates for Haskell. Based on ‘stache’ library, which uses ‘megaparsec’. This library uses ‘parsec’, thus the name

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

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

sudo dnf -y install ghc-microstache

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

sudo yum -y install ghc-microstache

How To Uninstall ghc-microstache on Fedora 36

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

sudo dnf remove ghc-microstache

ghc-microstache Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/77d5b44fb45ce9420d6e16c3dcf71b99a0c0c1
/usr/lib64/libHSmicrostache-1.0.1.2-BNPVFuRPNBVFHZ7nr61rWM-ghc8.10.5.so
/usr/share/licenses/ghc-microstache
/usr/share/licenses/ghc-microstache/LICENSE

References

Summary

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