How To Install ghc-primes-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-primes-devel
on Fedora 36.
What is ghc-primes-devel
This package provides the Haskell primes library development files.
We can use yum
or dnf
to install ghc-primes-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-primes-devel.
Install ghc-primes-devel 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-devel
using dnf
by running the following command:
sudo dnf -y install ghc-primes-devel
Install ghc-primes-devel 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-devel
using yum
by running the following command:
sudo yum -y install ghc-primes-devel
How To Uninstall ghc-primes-devel on Fedora 36
To uninstall only the ghc-primes-devel
package we can use the following command:
sudo dnf remove ghc-primes-devel
ghc-primes-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/package.conf.d/primes-0.2.1.0.conf
/usr/lib64/ghc-8.10.5/primes-0.2.1.0
/usr/lib64/ghc-8.10.5/primes-0.2.1.0/Data
/usr/lib64/ghc-8.10.5/primes-0.2.1.0/Data/Numbers
/usr/lib64/ghc-8.10.5/primes-0.2.1.0/Data/Numbers/Primes.dyn_hi
/usr/lib64/ghc-8.10.5/primes-0.2.1.0/Data/Numbers/Primes.hi
/usr/lib64/ghc-8.10.5/primes-0.2.1.0/libHSprimes-0.2.1.0-HLShIrNBhf0CRMbJsLTsZV.a
References
Summary
In this tutorial we learn how to install ghc-primes-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).