How To Install ghc-cryptonite on Fedora 36
Introduction
In this tutorial we learn how to install ghc-cryptonite
on Fedora 36.
What is ghc-cryptonite
A repository of cryptographic primitives. * Symmetric ciphers Salsa, XSalsa, ChaCha. * Hash Whirlpool, Blake2 * MAC * Asymmetric crypto Ed25519, Ed448 * Key Derivation Function * Cryptographic Random generation Generator * Data related If anything cryptographic related is missing from here, submit a pull request to have it added. This package strives to be a cryptographic kitchen sink that provides cryptography for everyone. Evaluate the security related to your requirements before using. Read “Crypto.Tutorial” for a quick start guide.
We can use yum
or dnf
to install ghc-cryptonite
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-cryptonite.
Install ghc-cryptonite 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-cryptonite
using dnf
by running the following command:
sudo dnf -y install ghc-cryptonite
Install ghc-cryptonite 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-cryptonite
using yum
by running the following command:
sudo yum -y install ghc-cryptonite
How To Uninstall ghc-cryptonite on Fedora 36
To uninstall only the ghc-cryptonite
package we can use the following command:
sudo dnf remove ghc-cryptonite
ghc-cryptonite Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/86850beb4d57430830278af11e1399b3f2d6b0
/usr/lib64/libHScryptonite-0.29-5r7lnD4aYWdIGrQffy1AVK-ghc8.10.5.so
/usr/share/licenses/ghc-cryptonite
/usr/share/licenses/ghc-cryptonite/LICENSE
References
Summary
In this tutorial we learn how to install ghc-cryptonite
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).