How To Install ghc-http-api-data on Fedora 36

In this tutorial we learn how to install ghc-http-api-data in Fedora 36. ghc-http-api-data is Converting to/from HTTP API data

Introduction

In this tutorial we learn how to install ghc-http-api-data on Fedora 36.

What is ghc-http-api-data

This package defines typeclasses used for converting Haskell data types to and from HTTP API data. Haskell types like booleans, numbers, strings and dates are supported.

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

Install ghc-http-api-data 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-http-api-data using dnf by running the following command:

sudo dnf -y install ghc-http-api-data

Install ghc-http-api-data 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-http-api-data using yum by running the following command:

sudo yum -y install ghc-http-api-data

How To Uninstall ghc-http-api-data on Fedora 36

To uninstall only the ghc-http-api-data package we can use the following command:

sudo dnf remove ghc-http-api-data

ghc-http-api-data Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/d7a91efc1e1c4baa82e0cca5e926de00c20e9a
/usr/lib64/libHShttp-api-data-0.4.2-LbRoHsPyHMg4WfmUOCE0Me-ghc8.10.5.so
/usr/share/licenses/ghc-http-api-data
/usr/share/licenses/ghc-http-api-data/LICENSE

References

Summary

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