How To Install ghc-rio on Fedora 36
Introduction
In this tutorial we learn how to install ghc-rio
on Fedora 36.
What is ghc-rio
The goal of the rio library is to make it easier to adopt Haskell for writing production software. It is intended as a cross between - Collection of well designed, trusted libraries - Useful Prelude replacement - A set of best practices for writing production quality Haskell code
We can use yum
or dnf
to install ghc-rio
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-rio.
Install ghc-rio 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-rio
using dnf
by running the following command:
sudo dnf -y install ghc-rio
Install ghc-rio 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-rio
using yum
by running the following command:
sudo yum -y install ghc-rio
How To Uninstall ghc-rio on Fedora 36
To uninstall only the ghc-rio
package we can use the following command:
sudo dnf remove ghc-rio
ghc-rio Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/86cd99174114e527f8f1f4624fcbac5cb76578
/usr/lib64/libHSrio-0.1.20.0-LOhO1Fk3EbUgYVUOR5E6O-ghc8.10.5.so
/usr/share/licenses/ghc-rio
/usr/share/licenses/ghc-rio/LICENSE
References
Summary
In this tutorial we learn how to install ghc-rio
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).