How To Install ghc-snap-core on Fedora 36
Introduction
In this tutorial we learn how to install ghc-snap-core
on Fedora 36.
What is ghc-snap-core
Snap is a simple and fast web development framework and server written in Haskell. This library contains the core definitions and types for the Snap framework.
We can use yum
or dnf
to install ghc-snap-core
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-snap-core.
Install ghc-snap-core 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-core
using dnf
by running the following command:
sudo dnf -y install ghc-snap-core
Install ghc-snap-core 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-core
using yum
by running the following command:
sudo yum -y install ghc-snap-core
How To Uninstall ghc-snap-core on Fedora 36
To uninstall only the ghc-snap-core
package we can use the following command:
sudo dnf remove ghc-snap-core
ghc-snap-core Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/4407923b1160ef847f6467dffd30582a3528c5
/usr/lib64/libHSsnap-core-1.0.4.2-7H88cIjoLqwIc2q6oNXWZy-ghc8.10.5.so
/usr/share/licenses/ghc-snap-core
/usr/share/licenses/ghc-snap-core/LICENSE
References
Summary
In this tutorial we learn how to install ghc-snap-core
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).