How To Install ghc-HStringTemplate on Fedora 36

In this tutorial we learn how to install ghc-HStringTemplate in Fedora 36. ghc-HStringTemplate is StringTemplate implementation in Haskell

Introduction

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

What is ghc-HStringTemplate

A port of the Java library by Terrence Parr.

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

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

sudo dnf -y install ghc-HStringTemplate

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

sudo yum -y install ghc-HStringTemplate

How To Uninstall ghc-HStringTemplate on Fedora 36

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

sudo dnf remove ghc-HStringTemplate

ghc-HStringTemplate Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/a3549950459449102c7dc9ddcfb38dda6332df
/usr/lib64/libHSHStringTemplate-0.8.7-L8GNwDQuU0NLtizXe5gDy3-ghc8.10.5.so
/usr/share/licenses/ghc-HStringTemplate
/usr/share/licenses/ghc-HStringTemplate/LICENSE

References

Summary

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