How To Install ghc-yesod-static on Fedora 36
Introduction
In this tutorial we learn how to install ghc-yesod-static
on Fedora 36.
What is ghc-yesod-static
Serve static files from a Yesod app. This is great for developing your application, but also for a dead-simple deployment. Caching headers are automatically taken care of. If you are running a proxy server (like Apache or Nginx), you may want to have that server do the static serving instead.
We can use yum
or dnf
to install ghc-yesod-static
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-yesod-static.
Install ghc-yesod-static 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-yesod-static
using dnf
by running the following command:
sudo dnf -y install ghc-yesod-static
Install ghc-yesod-static 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-yesod-static
using yum
by running the following command:
sudo yum -y install ghc-yesod-static
How To Uninstall ghc-yesod-static on Fedora 36
To uninstall only the ghc-yesod-static
package we can use the following command:
sudo dnf remove ghc-yesod-static
ghc-yesod-static Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/96709c832ab9fae71bf61e154bd0a96907d9ff
/usr/lib64/libHSyesod-static-1.6.1.0-DZhCMGREd3P6mRG5BiT7mh-ghc8.10.5.so
/usr/share/licenses/ghc-yesod-static
/usr/share/licenses/ghc-yesod-static/LICENSE
References
Summary
In this tutorial we learn how to install ghc-yesod-static
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).