How To Install ghc-warp on Fedora 36

In this tutorial we learn how to install ghc-warp in Fedora 36. ghc-warp is A fast, light-weight web server for WAI applications

Introduction

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

What is ghc-warp

HTTP/1.0, HTTP/1.1 and HTTP/2 are supported. For HTTP/2, Warp supports direct and ALPN (in TLS) but not upgrade.

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

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

sudo dnf -y install ghc-warp

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

sudo yum -y install ghc-warp

How To Uninstall ghc-warp on Fedora 36

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

sudo dnf remove ghc-warp

ghc-warp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/a45fe49b4234fb139095efd0086148e37d3ba9
/usr/lib64/libHSwarp-3.3.17-8Jn2JG80ee4tm292zO9A9-ghc8.10.5.so
/usr/share/licenses/ghc-warp
/usr/share/licenses/ghc-warp/LICENSE

References

Summary

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