How To Install ghc-wai-websockets on Fedora 36

In this tutorial we learn how to install ghc-wai-websockets in Fedora 36. ghc-wai-websockets is Provide a bridge between WAI and the websockets package

Introduction

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

What is ghc-wai-websockets

Provide a bridge between WAI and the websockets package.

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

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

sudo dnf -y install ghc-wai-websockets

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

sudo yum -y install ghc-wai-websockets

How To Uninstall ghc-wai-websockets on Fedora 36

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

sudo dnf remove ghc-wai-websockets

ghc-wai-websockets Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/afcfa9a36683eb592b892973acfdbca9947c97
/usr/lib64/libHSwai-websockets-3.0.1.2-IS7jlzXWaJ9KJAON7Wl7uw-ghc8.10.5.so
/usr/share/licenses/ghc-wai-websockets
/usr/share/licenses/ghc-wai-websockets/LICENSE

References

Summary

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