How To Install ghc-control-monad-free on Fedora 36
Introduction
In this tutorial we learn how to install ghc-control-monad-free
on Fedora 36.
What is ghc-control-monad-free
This package provides datatypes to construct Free monads, Free monad transformers, and useful instances. In addition it provides the constructs to avoid quadratic complexity of left associative bind, as explained in Janis Voigtlander, Asymptotic Improvement of Computations over Free Monads, MPC'08/. http
We can use yum
or dnf
to install ghc-control-monad-free
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-control-monad-free.
Install ghc-control-monad-free 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-control-monad-free
using dnf
by running the following command:
sudo dnf -y install ghc-control-monad-free
Install ghc-control-monad-free 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-control-monad-free
using yum
by running the following command:
sudo yum -y install ghc-control-monad-free
How To Uninstall ghc-control-monad-free on Fedora 36
To uninstall only the ghc-control-monad-free
package we can use the following command:
sudo dnf remove ghc-control-monad-free
ghc-control-monad-free Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/b826127e5093c27540e1f61b5f2cdc4d6594fe
/usr/lib64/libHScontrol-monad-free-0.6.2-6nHvGxzfOoN2NFMaDlBoMl-ghc8.10.5.so
References
Summary
In this tutorial we learn how to install ghc-control-monad-free
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).