How To Install ghc-zlib-bindings on Fedora 36

In this tutorial we learn how to install ghc-zlib-bindings in Fedora 36. ghc-zlib-bindings is Low-level bindings to the zlib package

Introduction

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

What is ghc-zlib-bindings

Deprecated in favor of streaming-commons.

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

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

sudo dnf -y install ghc-zlib-bindings

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

sudo yum -y install ghc-zlib-bindings

How To Uninstall ghc-zlib-bindings on Fedora 36

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

sudo dnf remove ghc-zlib-bindings

ghc-zlib-bindings Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/cc563ebc6dd40a94f701e431fe7793df97ba66
/usr/lib64/libHSzlib-bindings-0.1.1.5-C3WyuQPHLgX2KBzdNbYpbK-ghc8.10.5.so
/usr/share/licenses/ghc-zlib-bindings
/usr/share/licenses/ghc-zlib-bindings/LICENSE

References

Summary

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