How To Install ghc-tls on Fedora 36

In this tutorial we learn how to install ghc-tls in Fedora 36. ghc-tls is TLS/SSL protocol native implementation (Server and Client)

Introduction

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

What is ghc-tls

Native Haskell TLS and SSL protocol implementation for server and client. This provides a high-level implementation of a sensitive security protocol, eliminating a common set of security issues through the use of the advanced type system, high level constructions and common Haskell features. Currently implement the SSL3.0, TLS1.0, TLS1.1, TLS1.2 and TLS 1.3 protocol, and support RSA and Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many extensions. Some debug tools linked with tls, are available through the <http

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

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

sudo dnf -y install ghc-tls

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

sudo yum -y install ghc-tls

How To Uninstall ghc-tls on Fedora 36

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

sudo dnf remove ghc-tls

ghc-tls Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/07099c2d13a3ca1ae4f902635695a9ee24b852
/usr/lib64/libHStls-1.5.5-Bdv8cS6HVBVJQMokyvQa9W-ghc8.10.5.so
/usr/share/licenses/ghc-tls
/usr/share/licenses/ghc-tls/LICENSE

References

Summary

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