How To Install ghc-http-client-tls on Fedora 36

In this tutorial we learn how to install ghc-http-client-tls in Fedora 36. ghc-http-client-tls is Http-client backend using the connection package and tls library

Introduction

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

What is ghc-http-client-tls

Use the http-client package with the pure-Haskell tls package for secure connections. Intended for use by higher-level libraries, such as http-conduit.

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

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

sudo dnf -y install ghc-http-client-tls

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

sudo yum -y install ghc-http-client-tls

How To Uninstall ghc-http-client-tls on Fedora 36

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

sudo dnf remove ghc-http-client-tls

ghc-http-client-tls Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/483a9c52e3524128115103661e0aa7f5e77d91
/usr/lib64/libHShttp-client-tls-0.3.5.3-1acYgtVu0eE2xA8ijsMjk9-ghc8.10.5.so
/usr/share/licenses/ghc-http-client-tls
/usr/share/licenses/ghc-http-client-tls/LICENSE

References

Summary

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