How To Install ghc-array-prof on Fedora 36

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

Introduction

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

What is ghc-array-prof

This package provides the Haskell array profiling library.

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

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

sudo dnf -y install ghc-array-prof

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

sudo yum -y install ghc-array-prof

How To Uninstall ghc-array-prof on Fedora 36

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

sudo dnf remove ghc-array-prof

ghc-array-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Base.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/IArray.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/IO.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/IO/Internals.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/IO/Safe.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/MArray.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/MArray/Safe.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/ST.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/ST/Safe.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Storable.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Storable/Internals.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Storable/Safe.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Unboxed.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/Data/Array/Unsafe.p_hi
/usr/lib64/ghc-8.10.5/array-0.5.4.0/libHSarray-0.5.4.0_p.a

References

Summary

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