How To Install ghc-microlens-ghc on Fedora 36
Introduction
In this tutorial we learn how to install ghc-microlens-ghc
on Fedora 36.
What is ghc-microlens-ghc
Use this package instead of
if you don’t mind depending on all dependencies here – ‘Lens.Micro.GHC’ reexports everything from ‘Lens.Micro’ and additionally provides orphan instances of microlens classes for packages coming with GHC (<http <http <http <http The minor and major versions of microlens-ghc are incremented whenever the minor and major versions of microlens are incremented, so you can depend on the exact version of microlens-ghc without specifying the version of microlens you need. This package is a part of the family; see the readme .
We can use yum
or dnf
to install ghc-microlens-ghc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-microlens-ghc.
Install ghc-microlens-ghc 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-ghc
using dnf
by running the following command:
sudo dnf -y install ghc-microlens-ghc
Install ghc-microlens-ghc 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-ghc
using yum
by running the following command:
sudo yum -y install ghc-microlens-ghc
How To Uninstall ghc-microlens-ghc on Fedora 36
To uninstall only the ghc-microlens-ghc
package we can use the following command:
sudo dnf remove ghc-microlens-ghc
ghc-microlens-ghc Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/085b16ed3ef795c1da3ad266e826927e7b583b
/usr/lib64/libHSmicrolens-ghc-0.4.13-48zqf4CXAJT1iw1DYvoq9p-ghc8.10.5.so
/usr/share/licenses/ghc-microlens-ghc
/usr/share/licenses/ghc-microlens-ghc/LICENSE
References
Summary
In this tutorial we learn how to install ghc-microlens-ghc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).