How To Install ghc-zlib-devel on Fedora 36

In this tutorial we learn how to install ghc-zlib-devel in Fedora 36. ghc-zlib-devel is Haskell zlib library development files

Introduction

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

What is ghc-zlib-devel

This package provides the Haskell zlib library development files.

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

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

sudo dnf -y install ghc-zlib-devel

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

sudo yum -y install ghc-zlib-devel

How To Uninstall ghc-zlib-devel on Fedora 36

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

sudo dnf remove ghc-zlib-devel

ghc-zlib-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/zlib-0.6.2.3.conf
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/GZip.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/GZip.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/ByteStringCompat.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/ByteStringCompat.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Internal.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Raw.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Raw.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Stream.dyn_hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/Codec/Compression/Zlib/Stream.hi
/usr/lib64/ghc-8.10.5/zlib-0.6.2.3/libHSzlib-0.6.2.3-1TbqDLOHj1L5XkI29UmFHV.a
/usr/share/doc/ghc-zlib-devel
/usr/share/doc/ghc-zlib-devel/changelog
/usr/share/doc/ghc-zlib-devel/examples
/usr/share/doc/ghc-zlib-devel/examples/gunzip.hs
/usr/share/doc/ghc-zlib-devel/examples/gzip.hs

References

Summary

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