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