How To Install ghc-aeson-better-errors on Fedora 36

In this tutorial we learn how to install ghc-aeson-better-errors in Fedora 36. ghc-aeson-better-errors is Better error messages when decoding JSON values

Introduction

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

What is ghc-aeson-better-errors

A small package which gives you the tools to build parsers to decode JSON values, and gives good error messages when parsing fails. See also <http

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

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

sudo dnf -y install ghc-aeson-better-errors

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

sudo yum -y install ghc-aeson-better-errors

How To Uninstall ghc-aeson-better-errors on Fedora 36

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

sudo dnf remove ghc-aeson-better-errors

ghc-aeson-better-errors Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/f3ca29832c6ca603bca43d9dd7131c35c44bcd
/usr/lib64/libHSaeson-better-errors-0.9.1.0-IkmJ9Yhw6Gp7I1nQlxwyGz-ghc8.10.5.so
/usr/share/licenses/ghc-aeson-better-errors
/usr/share/licenses/ghc-aeson-better-errors/LICENSE

References

Summary

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