How To Install ghc-lens-aeson on Fedora 36

In this tutorial we learn how to install ghc-lens-aeson in Fedora 36. ghc-lens-aeson is Law-abiding lenses for aeson

Introduction

In this tutorial we learn how to install ghc-lens-aeson on Fedora 36.

What is ghc-lens-aeson

Law-abiding lenses for aeson.

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

Install ghc-lens-aeson 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-lens-aeson using dnf by running the following command:

sudo dnf -y install ghc-lens-aeson

Install ghc-lens-aeson 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-lens-aeson using yum by running the following command:

sudo yum -y install ghc-lens-aeson

How To Uninstall ghc-lens-aeson on Fedora 36

To uninstall only the ghc-lens-aeson package we can use the following command:

sudo dnf remove ghc-lens-aeson

ghc-lens-aeson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/eac9dd0a15059fc5ce730817e787f0cddc48bf
/usr/lib64/libHSlens-aeson-1.1.1-17lyHFO6qCVA0pE4g1lk9b-ghc8.10.5.so
/usr/share/licenses/ghc-lens-aeson
/usr/share/licenses/ghc-lens-aeson/LICENSE

References

Summary

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