How To Install ghc-snap-server on Fedora 36
Introduction
In this tutorial we learn how to install ghc-snap-server
on Fedora 36.
What is ghc-snap-server
Snap is a simple and fast web development framework and server written in Haskell. For more information or to download the latest version, you can visit the Snap project website at <http The Snap HTTP server is a high performance web server library written in Haskell. Together with the ‘snap-core’ library upon which it depends, it provides a clean and efficient Haskell programming interface to the HTTP protocol.
We can use yum
or dnf
to install ghc-snap-server
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-snap-server.
Install ghc-snap-server 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-snap-server
using dnf
by running the following command:
sudo dnf -y install ghc-snap-server
Install ghc-snap-server 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-snap-server
using yum
by running the following command:
sudo yum -y install ghc-snap-server
How To Uninstall ghc-snap-server on Fedora 36
To uninstall only the ghc-snap-server
package we can use the following command:
sudo dnf remove ghc-snap-server
ghc-snap-server Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/871deddaf30505d41cc0ce07853c36f9bd9aa0
/usr/lib64/libHSsnap-server-1.1.2.0-D5gkT3pSspyFes2i3tUSYJ-ghc8.10.5.so
/usr/share/licenses/ghc-snap-server
/usr/share/licenses/ghc-snap-server/LICENSE
References
Summary
In this tutorial we learn how to install ghc-snap-server
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).