How To Install ghc-cab-prof on Fedora 36

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

Introduction

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

What is ghc-cab-prof

This package provides the Haskell cab profiling library.

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

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

sudo dnf -y install ghc-cab-prof

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

sudo yum -y install ghc-cab-prof

How To Uninstall ghc-cab-prof on Fedora 36

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

sudo dnf remove ghc-cab-prof

ghc-cab-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/Commands.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/GenPaths.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/PkgDB.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/Printer.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/Sandbox.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/Utils.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/VerDB.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/Distribution/Cab/Version.p_hi
/usr/lib64/ghc-8.10.5/cab-0.2.19/libHScab-0.2.19-JJY28NJCJEd4EOv9vIZHFu_p.a

References

Summary

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