How To Install ghc-xml-hamlet on Fedora 36

In this tutorial we learn how to install ghc-xml-hamlet in Fedora 36. ghc-xml-hamlet is Hamlet-style quasiquoter for XML content

Introduction

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

What is ghc-xml-hamlet

Hamlet-style quasiquoter for XML content.

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

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

sudo dnf -y install ghc-xml-hamlet

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

sudo yum -y install ghc-xml-hamlet

How To Uninstall ghc-xml-hamlet on Fedora 36

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

sudo dnf remove ghc-xml-hamlet

ghc-xml-hamlet Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/103778692c4441b9a317ff651cbe96700cfa64
/usr/lib64/libHSxml-hamlet-0.5.0.1-1iCDNwFnn99D6ispGTroqz-ghc8.10.5.so
/usr/share/licenses/ghc-xml-hamlet
/usr/share/licenses/ghc-xml-hamlet/LICENSE

References

Summary

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