How To Install ghc-SHA on Fedora 36
Introduction
In this tutorial we learn how to install ghc-SHA
on Fedora 36.
What is ghc-SHA
This library implements the SHA suite of message digest functions, according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the SHA-based HMAC routines. The functions have been tested against most of the NIST and RFC test vectors for the various functions. While some attention has been paid to performance, these do not presently reach the speed of well-tuned libraries, like OpenSSL.
We can use yum
or dnf
to install ghc-SHA
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-SHA.
Install ghc-SHA 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-SHA
using dnf
by running the following command:
sudo dnf -y install ghc-SHA
Install ghc-SHA 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-SHA
using yum
by running the following command:
sudo yum -y install ghc-SHA
How To Uninstall ghc-SHA on Fedora 36
To uninstall only the ghc-SHA
package we can use the following command:
sudo dnf remove ghc-SHA
ghc-SHA Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/3f828e90da94b65c68cd5c96cb3c406b874f21
/usr/lib64/libHSSHA-1.6.4.4-AdaX3b9QKHpD4bkKnWphTy-ghc8.10.5.so
/usr/share/licenses/ghc-SHA
/usr/share/licenses/ghc-SHA/LICENSE
References
Summary
In this tutorial we learn how to install ghc-SHA
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).