How To Install ghc-ghc-mtl on Fedora 36
Introduction
In this tutorial we learn how to install ghc-ghc-mtl
on Fedora 36.
What is ghc-ghc-mtl
Provides an ‘mtl’ compatible version of the ‘GhcT’ monad-transformer defined in the ‘GHC-API’ since version 6.10.1.
We can use yum
or dnf
to install ghc-ghc-mtl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ghc-mtl.
Install ghc-ghc-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-ghc-mtl
using dnf
by running the following command:
sudo dnf -y install ghc-ghc-mtl
Install ghc-ghc-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-ghc-mtl
using yum
by running the following command:
sudo yum -y install ghc-ghc-mtl
How To Uninstall ghc-ghc-mtl on Fedora 36
To uninstall only the ghc-ghc-mtl
package we can use the following command:
sudo dnf remove ghc-ghc-mtl
ghc-ghc-mtl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/ad6879b0286820707c98abcc337f29d6d981c7
/usr/lib64/libHSghc-mtl-1.2.1.0-4X7G7V4GiqV6wuvjioPSjK-ghc8.10.5.so
/usr/share/licenses/ghc-ghc-mtl
/usr/share/licenses/ghc-ghc-mtl/LICENSE
References
Summary
In this tutorial we learn how to install ghc-ghc-mtl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).