How To Install ghc-zlib on Fedora 36
Introduction
In this tutorial we learn how to install ghc-zlib
on Fedora 36.
What is ghc-zlib
This package provides a pure interface for compressing and decompressing streams of data represented as lazy ‘ByteString’s. It uses the <https It supports the “zlib”, “gzip” and “raw” compression formats. It provides a convenient high level API suitable for most tasks and for the few cases where more control is needed it provides access to the full zlib feature set.
We can use yum
or dnf
to install ghc-zlib
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-zlib.
Install ghc-zlib 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
using dnf
by running the following command:
sudo dnf -y install ghc-zlib
Install ghc-zlib 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
using yum
by running the following command:
sudo yum -y install ghc-zlib
How To Uninstall ghc-zlib on Fedora 36
To uninstall only the ghc-zlib
package we can use the following command:
sudo dnf remove ghc-zlib
ghc-zlib Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/48dd12143aeb8aa5fdec36073098e398b8ee0c
/usr/lib64/libHSzlib-0.6.2.3-1TbqDLOHj1L5XkI29UmFHV-ghc8.10.5.so
/usr/share/licenses/ghc-zlib
/usr/share/licenses/ghc-zlib/LICENSE
References
Summary
In this tutorial we learn how to install ghc-zlib
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).