How To Install ghc-HSH on Fedora 36
Introduction
In this tutorial we learn how to install ghc-HSH
on Fedora 36.
What is ghc-HSH
HSH is designed to let you mix and match shell expressions with Haskell programs. With HSH, it is possible to easily run shell commands, capture their output or provide their input, and pipe them to and from other shell commands and arbitrary Haskell functions at will.
We can use yum
or dnf
to install ghc-HSH
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-HSH.
Install ghc-HSH 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-HSH
using dnf
by running the following command:
sudo dnf -y install ghc-HSH
Install ghc-HSH 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-HSH
using yum
by running the following command:
sudo yum -y install ghc-HSH
How To Uninstall ghc-HSH on Fedora 36
To uninstall only the ghc-HSH
package we can use the following command:
sudo dnf remove ghc-HSH
ghc-HSH Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/1d4c1eb17a2e7c9965565fd5e0c0227d5c6237
/usr/lib64/libHSHSH-2.1.3-FqIs3Ht9jdJ892lTV8OeH0-ghc8.10.5.so
/usr/share/licenses/ghc-HSH
/usr/share/licenses/ghc-HSH/COPYING
/usr/share/licenses/ghc-HSH/COPYRIGHT
References
Summary
In this tutorial we learn how to install ghc-HSH
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).