How To Install ghc-RSA on Fedora 36
Introduction
In this tutorial we learn how to install ghc-RSA
on Fedora 36.
What is ghc-RSA
This library implements the RSA encryption and signature algorithms for arbitrarily-sized ByteStrings. While the implementations work, they are not necessarily the fastest ones on the planet. Particularly key generation. The algorithms included are based of RFC 3447, or the Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1).
We can use yum
or dnf
to install ghc-RSA
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-RSA.
Install ghc-RSA 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-RSA
using dnf
by running the following command:
sudo dnf -y install ghc-RSA
Install ghc-RSA 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-RSA
using yum
by running the following command:
sudo yum -y install ghc-RSA
How To Uninstall ghc-RSA on Fedora 36
To uninstall only the ghc-RSA
package we can use the following command:
sudo dnf remove ghc-RSA
ghc-RSA Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/35d59ff47dffc6ac7fa5b2143072e32146e50a
/usr/lib64/libHSRSA-2.4.1-WLiWsDTZS2Fu1NCgueEGf-ghc8.10.5.so
/usr/share/licenses/ghc-RSA
/usr/share/licenses/ghc-RSA/LICENSE
References
Summary
In this tutorial we learn how to install ghc-RSA
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).