How To Install ghc-memory-prof on Fedora 36

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

Introduction

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

What is ghc-memory-prof

This package provides the Haskell memory profiling library.

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

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

sudo dnf -y install ghc-memory-prof

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

sudo yum -y install ghc-memory-prof

How To Uninstall ghc-memory-prof on Fedora 36

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

sudo dnf remove ghc-memory-prof

ghc-memory-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Bytes.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Encoding.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Hash.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Mapping.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/MemView.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Methods.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Pack.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Pack/Internal.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Parse.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/ScrubbedBytes.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Sized.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/Types.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/ByteArray/View.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Encoding/Base16.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Encoding/Base32.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Encoding/Base64.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Endian.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/ExtendedWords.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Hash/FNV.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Hash/SipHash.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/Compat.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/CompatPrim.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/CompatPrim64.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/DeepSeq.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/Imports.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/Internal/Scrubber.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/MemMap/Posix.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/Data/Memory/PtrMethods.p_hi
/usr/lib64/ghc-8.10.5/memory-0.15.0/libHSmemory-0.15.0-4OuXyBP2zCRDWyMZ7DLQYh_p.a

References

Summary

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