How To Install ghc-managed-prof on Fedora 36

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

Introduction

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

What is ghc-managed-prof

This package provides the Haskell managed profiling library.

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

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

sudo dnf -y install ghc-managed-prof

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

sudo yum -y install ghc-managed-prof

How To Uninstall ghc-managed-prof on Fedora 36

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

sudo dnf remove ghc-managed-prof

ghc-managed-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/managed-1.0.8/Control/Monad/Managed.p_hi
/usr/lib64/ghc-8.10.5/managed-1.0.8/Control/Monad/Managed/Safe.p_hi
/usr/lib64/ghc-8.10.5/managed-1.0.8/libHSmanaged-1.0.8-7dDi1QnJFf08rXWKXOzZaH_p.a

References

Summary

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