How To Install ghc-happstack-server on Fedora 36
Introduction
In this tutorial we learn how to install ghc-happstack-server
on Fedora 36.
What is ghc-happstack-server
Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http
We can use yum
or dnf
to install ghc-happstack-server
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-happstack-server.
Install ghc-happstack-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-happstack-server
using dnf
by running the following command:
sudo dnf -y install ghc-happstack-server
Install ghc-happstack-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-happstack-server
using yum
by running the following command:
sudo yum -y install ghc-happstack-server
How To Uninstall ghc-happstack-server on Fedora 36
To uninstall only the ghc-happstack-server
package we can use the following command:
sudo dnf remove ghc-happstack-server
ghc-happstack-server Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/706b9484e27d478b36ac67d3f48df411dd1e14
/usr/lib64/libHShappstack-server-7.7.1.1-GOU41SekukrICEYFq9DeIO-ghc8.10.5.so
/usr/share/licenses/ghc-happstack-server
/usr/share/licenses/ghc-happstack-server/COPYING
References
Summary
In this tutorial we learn how to install ghc-happstack-server
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).