How To Install ghc-microlens-mtl on Fedora 36
Introduction
In this tutorial we learn how to install ghc-microlens-mtl
on Fedora 36.
What is ghc-microlens-mtl
This package contains functions (like ‘view’ or ‘+=’) which work on ‘MonadReader’, ‘MonadWriter’, and ‘MonadState’ from the mtl package. This package is a part of the
family; see the readme .
We can use yum
or dnf
to install ghc-microlens-mtl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-microlens-mtl.
Install ghc-microlens-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-microlens-mtl
using dnf
by running the following command:
sudo dnf -y install ghc-microlens-mtl
Install ghc-microlens-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-microlens-mtl
using yum
by running the following command:
sudo yum -y install ghc-microlens-mtl
How To Uninstall ghc-microlens-mtl on Fedora 36
To uninstall only the ghc-microlens-mtl
package we can use the following command:
sudo dnf remove ghc-microlens-mtl
ghc-microlens-mtl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/eeaa4e15468d91abc31ca69c4c929119b5626a
/usr/lib64/libHSmicrolens-mtl-0.2.0.1-JgTbTlYIvEKBoII676UfjM-ghc8.10.5.so
/usr/share/licenses/ghc-microlens-mtl
/usr/share/licenses/ghc-microlens-mtl/LICENSE
References
Summary
In this tutorial we learn how to install ghc-microlens-mtl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).