How To Install ghc-http-streams on Fedora 36

In this tutorial we learn how to install ghc-http-streams in Fedora 36. ghc-http-streams is An HTTP client using io-streams

Introduction

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

What is ghc-http-streams

An HTTP client, using the Snap Framework’s ‘io-streams’ library to handle the streaming IO. The API is optimized for ease of use for the rather common case of code needing to query web services and deal with the result. The library is exported in a single module; see “Network.Http.Client” for full documentation.

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

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

sudo dnf -y install ghc-http-streams

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

sudo yum -y install ghc-http-streams

How To Uninstall ghc-http-streams on Fedora 36

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

sudo dnf remove ghc-http-streams

ghc-http-streams Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/e5451ce880a1a28bb28d176e4c092813cf632b
/usr/lib64/libHShttp-streams-0.8.8.1-FaJCcNmqolDLfODUMZmPPE-ghc8.10.5.so
/usr/share/licenses/ghc-http-streams
/usr/share/licenses/ghc-http-streams/LICENSE

References

Summary

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