How To Install ghc-ghc-boot-prof on Fedora 36

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

Introduction

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

What is ghc-ghc-boot-prof

This package provides the Haskell ghc-boot profiling library.

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

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

sudo dnf -y install ghc-ghc-boot-prof

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

sudo yum -y install ghc-ghc-boot-prof

How To Uninstall ghc-ghc-boot-prof on Fedora 36

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

sudo dnf remove ghc-ghc-boot-prof

ghc-ghc-boot-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/BaseDir.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/ForeignSrcLang.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/HandleEncoding.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/LanguageExtensions.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/PackageDb.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/Platform.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/Platform/Host.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/Serialized.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/Settings.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/UniqueSubdir.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/GHC/Version.p_hi
/usr/lib64/ghc-8.10.5/ghc-boot-8.10.5/libHSghc-boot-8.10.5_p.a

References

Summary

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