How To Install ghc-data-accessor-prof on Fedora 36

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

Introduction

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

What is ghc-data-accessor-prof

This package provides the Haskell data-accessor profiling library.

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

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

sudo dnf -y install ghc-data-accessor-prof

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

sudo yum -y install ghc-data-accessor-prof

How To Uninstall ghc-data-accessor-prof on Fedora 36

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

sudo dnf remove ghc-data-accessor-prof

ghc-data-accessor-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Basic.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/BinaryRead.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/ByteSource.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Container.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Example.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/MonadState.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/MonadStatePrivate.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Private.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Show.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/Data/Accessor/Tuple.p_hi
/usr/lib64/ghc-8.10.5/data-accessor-0.2.3/libHSdata-accessor-0.2.3-GpMDae00grh8HRskLMgIxY_p.a

References

Summary

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