How To Install ghc-digest on Fedora 36
Introduction
In this tutorial we learn how to install ghc-digest
on Fedora 36.
What is ghc-digest
This package provides efficient cryptographic hash implementations for strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are implemented as FFI bindings to efficient code from zlib.
We can use yum
or dnf
to install ghc-digest
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-digest.
Install ghc-digest 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-digest
using dnf
by running the following command:
sudo dnf -y install ghc-digest
Install ghc-digest 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-digest
using yum
by running the following command:
sudo yum -y install ghc-digest
How To Uninstall ghc-digest on Fedora 36
To uninstall only the ghc-digest
package we can use the following command:
sudo dnf remove ghc-digest
ghc-digest Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/2aec6051a18031f0734cafcb5699808dac511e
/usr/lib64/libHSdigest-0.0.1.3-4D61QYpuhcI1QRWrapbn9l-ghc8.10.5.so
/usr/share/licenses/ghc-digest
/usr/share/licenses/ghc-digest/LICENSE
References
Summary
In this tutorial we learn how to install ghc-digest
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).