How To Install ghc-zlib-prof on Fedora 36

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

Introduction

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

What is ghc-zlib-prof

This package provides the Haskell zlib profiling library.

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

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

sudo dnf -y install ghc-zlib-prof

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

sudo yum -y install ghc-zlib-prof

How To Uninstall ghc-zlib-prof on Fedora 36

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

sudo dnf remove ghc-zlib-prof

ghc-zlib-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/GZip.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/ByteStringCompat.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Internal.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Raw.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Stream.p_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/libHSzlib-0.6.2.3-1TbqDLOHj1L5XkI29UmFHV_p.a

References

Summary

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