How To Install ghc-vault on Fedora 36
Introduction
In this tutorial we learn how to install ghc-vault
on Fedora 36.
What is ghc-vault
A vault is a persistent store for values of arbitrary types. It is like having first-class access to the storage space behind IORefs. The data structure is analogous to a bank vault, where you can access different bank boxes with different keys; hence the name. Also provided is a locker type, representing a store for a single element.
We can use yum
or dnf
to install ghc-vault
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-vault.
Install ghc-vault 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-vault
using dnf
by running the following command:
sudo dnf -y install ghc-vault
Install ghc-vault 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-vault
using yum
by running the following command:
sudo yum -y install ghc-vault
How To Uninstall ghc-vault on Fedora 36
To uninstall only the ghc-vault
package we can use the following command:
sudo dnf remove ghc-vault
ghc-vault Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/0153c15820bfcb3c6e2014c57b43339514bc00
/usr/lib64/libHSvault-0.3.1.5-A07MVViJ8FZHmMFUxNwBWS-ghc8.10.5.so
/usr/share/licenses/ghc-vault
/usr/share/licenses/ghc-vault/LICENSE
References
Summary
In this tutorial we learn how to install ghc-vault
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).