How To Install ghc-ghc on Fedora 36
In this tutorial we learn how to install ghc-ghc in Fedora 36. ghc-ghc is Haskell ghc library
Introduction
In this tutorial we learn how to install ghc-ghc
on Fedora 36.
What is ghc-ghc
This package provides the Haskell ghc library.
We can use yum
or dnf
to install ghc-ghc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ghc.
Install ghc-ghc 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-ghc
using dnf
by running the following command:
sudo dnf -y install ghc-ghc
Install ghc-ghc 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-ghc
using yum
by running the following command:
sudo yum -y install ghc-ghc
How To Uninstall ghc-ghc on Fedora 36
To uninstall only the ghc-ghc
package we can use the following command:
sudo dnf remove ghc-ghc
ghc-ghc Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/43406ab08a41dc7e72ce46839a8fe3b01a0360
/usr/lib64/libHSghc-8.10.5-ghc8.10.5.so
/usr/share/licenses/ghc-ghc
/usr/share/licenses/ghc-ghc/LICENSE
References
Summary
In this tutorial we learn how to install ghc-ghc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).