How To Install ghc-microlens-platform-devel on Fedora 36

In this tutorial we learn how to install ghc-microlens-platform-devel in Fedora 36. ghc-microlens-platform-devel is Haskell microlens-platform library development files

Introduction

In this tutorial we learn how to install ghc-microlens-platform-devel on Fedora 36.

What is ghc-microlens-platform-devel

This package provides the Haskell microlens-platform library development files.

We can use yum or dnf to install ghc-microlens-platform-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-microlens-platform-devel.

Install ghc-microlens-platform-devel 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-platform-devel using dnf by running the following command:

sudo dnf -y install ghc-microlens-platform-devel

Install ghc-microlens-platform-devel 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-platform-devel using yum by running the following command:

sudo yum -y install ghc-microlens-platform-devel

How To Uninstall ghc-microlens-platform-devel on Fedora 36

To uninstall only the ghc-microlens-platform-devel package we can use the following command:

sudo dnf remove ghc-microlens-platform-devel

ghc-microlens-platform-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro/Platform
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro/Platform.dyn_hi
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro/Platform.hi
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro/Platform/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/Lens/Micro/Platform/Internal.hi
/usr/lib64/ghc-8.10.5/microlens-platform-0.4.2/libHSmicrolens-platform-0.4.2-ErmVZxqyvwSHkuhtNK2g2V.a
/usr/lib64/ghc-8.10.5/package.conf.d/microlens-platform-0.4.2.conf
/usr/share/doc/ghc-microlens-platform-devel
/usr/share/doc/ghc-microlens-platform-devel/CHANGELOG.md

References

Summary

In this tutorial we learn how to install ghc-microlens-platform-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).