How To Install ghc-haxr-prof on Fedora 36

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

Introduction

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

What is ghc-haxr-prof

This package provides the Haskell haxr profiling library.

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

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

sudo dnf -y install ghc-haxr-prof

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

sudo yum -y install ghc-haxr-prof

How To Uninstall ghc-haxr-prof on Fedora 36

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

sudo dnf remove ghc-haxr-prof

ghc-haxr-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Base64.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Client.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/DTD_XMLRPC.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Internals.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Introspect.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Pretty.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/Server.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/Network/XmlRpc/THDeriveXmlRpcType.p_hi
/usr/lib64/ghc-8.10.5/haxr-3000.11.4.1/libHShaxr-3000.11.4.1-JGiGiRrsCnJ8pdscQd3eOE_p.a

References

Summary

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