How To Install ghc-microlens on Fedora 36
Introduction
In this tutorial we learn how to install ghc-microlens
on Fedora 36.
What is ghc-microlens
NOTE <http has the most features. <http is intended more for library writers who want a tiny lens library (after all, lenses are pretty useful for everything, not just for updating records!). This library is an extract from <http (with no dependencies). It’s not a toy lenses library, unsuitable for “real world”, but merely a small one. It is compatible with lens, and should have same performance. It also has better documentation.
We can use yum
or dnf
to install ghc-microlens
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-microlens.
Install ghc-microlens 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
using dnf
by running the following command:
sudo dnf -y install ghc-microlens
Install ghc-microlens 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
using yum
by running the following command:
sudo yum -y install ghc-microlens
How To Uninstall ghc-microlens on Fedora 36
To uninstall only the ghc-microlens
package we can use the following command:
sudo dnf remove ghc-microlens
ghc-microlens Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/d57f417987a239c6bbae58099c6cf186e73889
/usr/lib64/libHSmicrolens-0.4.12.0-7mbtYeVEJj9DE2AV66WaoK-ghc8.10.5.so
/usr/share/licenses/ghc-microlens
/usr/share/licenses/ghc-microlens/LICENSE
References
Summary
In this tutorial we learn how to install ghc-microlens
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).