How To Install ghc-MonadCatchIO-mtl on Fedora 36
Introduction
In this tutorial we learn how to install ghc-MonadCatchIO-mtl
on Fedora 36.
What is ghc-MonadCatchIO-mtl
Provides a monad-transformer version of the ‘Control.Exception.catch’ function. For this, it defines the ‘MonadCatchIO’ class, a subset of ‘MonadIO’. It defines proper instances for most monad transformers in the ‘mtl’ library.
We can use yum
or dnf
to install ghc-MonadCatchIO-mtl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-MonadCatchIO-mtl.
Install ghc-MonadCatchIO-mtl 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-MonadCatchIO-mtl
using dnf
by running the following command:
sudo dnf -y install ghc-MonadCatchIO-mtl
Install ghc-MonadCatchIO-mtl 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-MonadCatchIO-mtl
using yum
by running the following command:
sudo yum -y install ghc-MonadCatchIO-mtl
How To Uninstall ghc-MonadCatchIO-mtl on Fedora 36
To uninstall only the ghc-MonadCatchIO-mtl
package we can use the following command:
sudo dnf remove ghc-MonadCatchIO-mtl
ghc-MonadCatchIO-mtl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/fb89f28d08a07035a072b0ff87f9da8a5aa1fe
/usr/lib64/libHSMonadCatchIO-mtl-0.3.1.0-I96X3ApOZt42RMbkT4dpVu-ghc8.10.5.so
/usr/share/licenses/ghc-MonadCatchIO-mtl
/usr/share/licenses/ghc-MonadCatchIO-mtl/LICENSE
References
Summary
In this tutorial we learn how to install ghc-MonadCatchIO-mtl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).