How To Install ghc-warp-tls on Fedora 36

In this tutorial we learn how to install ghc-warp-tls in Fedora 36. ghc-warp-tls is HTTP over TLS support for Warp via the TLS package

Introduction

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

What is ghc-warp-tls

SSLv1 and SSLv2 are obsoleted by IETF. We should use TLS 1.2 (or TLS 1.1 or TLS 1.0 if necessary). HTTP/2 can be negotiated by ALPN. API docs and the README are available at <http

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

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

sudo dnf -y install ghc-warp-tls

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

sudo yum -y install ghc-warp-tls

How To Uninstall ghc-warp-tls on Fedora 36

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

sudo dnf remove ghc-warp-tls

ghc-warp-tls Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/8ad0cfe9092902d8a79682e61f413dc619055f
/usr/lib64/libHSwarp-tls-3.3.1-9BFC5bHgICZLZA0Fy3IyOf-ghc8.10.5.so
/usr/share/licenses/ghc-warp-tls
/usr/share/licenses/ghc-warp-tls/LICENSE

References

Summary

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