How To Install ghc-union-find on Fedora 36
Introduction
In this tutorial we learn how to install ghc-union-find
on Fedora 36.
What is ghc-union-find
The Union/Find algorithm implements these operations in (effectively) constant-time 1. Check whether two elements are in the same equivalence class. 2. Create a union of two equivalence classes. 3. Look up the descriptor of the equivalence class.
We can use yum
or dnf
to install ghc-union-find
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-union-find.
Install ghc-union-find 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-union-find
using dnf
by running the following command:
sudo dnf -y install ghc-union-find
Install ghc-union-find 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-union-find
using yum
by running the following command:
sudo yum -y install ghc-union-find
How To Uninstall ghc-union-find on Fedora 36
To uninstall only the ghc-union-find
package we can use the following command:
sudo dnf remove ghc-union-find
ghc-union-find Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/21b7a36c61bc6e9b0dea97530a9b8184bc3710
/usr/lib64/libHSunion-find-0.2-CiNgocbyBdz7A0vawUptVU-ghc8.10.5.so
/usr/share/licenses/ghc-union-find
/usr/share/licenses/ghc-union-find/LICENSE
References
Summary
In this tutorial we learn how to install ghc-union-find
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).