How To Install ghc-equivalence on Fedora 36
Introduction
In this tutorial we learn how to install ghc-equivalence
on Fedora 36.
What is ghc-equivalence
This is an implementation of Tarjan’s Union-Find algorithm (Robert E. Tarjan. “Efficiency of a Good But Not Linear Set Union Algorithm”, JACM 22(2), 1975) in order to maintain an equivalence relation. This implementation is a port of the /union-find/ package using the ST monad transformer (instead of the IO monad).
We can use yum
or dnf
to install ghc-equivalence
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-equivalence.
Install ghc-equivalence 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-equivalence
using dnf
by running the following command:
sudo dnf -y install ghc-equivalence
Install ghc-equivalence 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-equivalence
using yum
by running the following command:
sudo yum -y install ghc-equivalence
How To Uninstall ghc-equivalence on Fedora 36
To uninstall only the ghc-equivalence
package we can use the following command:
sudo dnf remove ghc-equivalence
ghc-equivalence Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/5b12a51a9f303b08318c515ab47f5a371ed9db
/usr/lib64/libHSequivalence-0.3.5-Ctxeflo4Iz08RqsfIRQiFU-ghc8.10.5.so
/usr/share/licenses/ghc-equivalence
/usr/share/licenses/ghc-equivalence/LICENSE
References
Summary
In this tutorial we learn how to install ghc-equivalence
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).