How To Install ghc-websockets-devel on Fedora 36

In this tutorial we learn how to install ghc-websockets-devel in Fedora 36. ghc-websockets-devel is Haskell websockets library development files

Introduction

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

What is ghc-websockets-devel

This package provides the Haskell websockets library development files.

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

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

sudo dnf -y install ghc-websockets-devel

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

sudo yum -y install ghc-websockets-devel

How To Uninstall ghc-websockets-devel on Fedora 36

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

sudo dnf remove ghc-websockets-devel

ghc-websockets-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/websockets-0.12.7.2.conf
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Client.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Client.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Connection
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Connection.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Connection.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Connection/Options.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Connection/Options.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/Description.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/Description.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/PermessageDeflate.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/PermessageDeflate.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/StrictUnicode.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Extensions/StrictUnicode.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Http.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Http.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13/Demultiplex.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13/Demultiplex.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13/Mask.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Hybi13/Mask.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Protocol.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Protocol.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Server.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Server.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Stream.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Stream.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Types.dyn_hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/Network/WebSockets/Types.hi
/usr/lib64/ghc-8.10.5/websockets-0.12.7.2/libHSwebsockets-0.12.7.2-KqAemtawBhCFsz9ysiM2mN.a
/usr/share/doc/ghc-websockets-devel
/usr/share/doc/ghc-websockets-devel/CHANGELOG
/usr/share/doc/ghc-websockets-devel/example
/usr/share/doc/ghc-websockets-devel/example/server.lhs

References

Summary

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