How To Install ghc-xhtml-prof on Fedora 36

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

Introduction

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

What is ghc-xhtml-prof

This package provides the Haskell xhtml profiling library.

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

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

sudo dnf -y install ghc-xhtml-prof

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

sudo yum -y install ghc-xhtml-prof

How To Uninstall ghc-xhtml-prof on Fedora 36

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

sudo dnf remove ghc-xhtml-prof

ghc-xhtml-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/BlockTable.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Debug.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Extras.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Frameset.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Frameset/Attributes.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Frameset/Elements.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Internals.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Strict.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Strict/Attributes.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Strict/Elements.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Table.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Transitional.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Transitional/Attributes.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/Text/XHtml/Transitional/Elements.p_hi
/usr/lib64/ghc-8.10.5/xhtml-3000.2.2.1/libHSxhtml-3000.2.2.1_p.a

References

Summary

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