How To Install ghc-websockets on Fedora 36
Introduction
In this tutorial we learn how to install ghc-websockets
on Fedora 36.
What is ghc-websockets
This library allows you to write WebSocket-capable servers. An example server <https An example client <https See also * The specification of the WebSocket protocol <http * The JavaScript API for dealing with WebSockets <http
We can use yum
or dnf
to install ghc-websockets
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-websockets.
Install ghc-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-websockets
using dnf
by running the following command:
sudo dnf -y install ghc-websockets
Install ghc-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-websockets
using yum
by running the following command:
sudo yum -y install ghc-websockets
How To Uninstall ghc-websockets on Fedora 36
To uninstall only the ghc-websockets
package we can use the following command:
sudo dnf remove ghc-websockets
ghc-websockets Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/3f1e9c8aca370c934f0abff6a706eb6667aaae
/usr/lib64/libHSwebsockets-0.12.7.2-KqAemtawBhCFsz9ysiM2mN-ghc8.10.5.so
/usr/share/licenses/ghc-websockets
/usr/share/licenses/ghc-websockets/LICENCE
References
Summary
In this tutorial we learn how to install ghc-websockets
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).