How To Install ghc-aeson-compat on Fedora 36

In this tutorial we learn how to install ghc-aeson-compat in Fedora 36. ghc-aeson-compat is Compatibility layer for aeson

Introduction

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

What is ghc-aeson-compat

Compatibility layer for ‘aeson’.

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

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

sudo dnf -y install ghc-aeson-compat

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

sudo yum -y install ghc-aeson-compat

How To Uninstall ghc-aeson-compat on Fedora 36

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

sudo dnf remove ghc-aeson-compat

ghc-aeson-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/7ce96808a57d0df086c92bb7c2628867343228
/usr/lib64/libHSaeson-compat-0.3.9-41qSrPqEMWfEbw2mat5AfT-ghc8.10.5.so
/usr/share/licenses/ghc-aeson-compat
/usr/share/licenses/ghc-aeson-compat/LICENSE

References

Summary

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