How To Install ghc-NumInstances on Fedora 36
Introduction
In this tutorial we learn how to install ghc-NumInstances
on Fedora 36.
What is ghc-NumInstances
Instances of numeric classes for functions and tuples. Import “Data.NumInstances” to get all the instances. If you want only function or only tuple instances, import “Data.NumInstances.Function” or “Data.NumInstances.Tuple”.
We can use yum
or dnf
to install ghc-NumInstances
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-NumInstances.
Install ghc-NumInstances 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-NumInstances
using dnf
by running the following command:
sudo dnf -y install ghc-NumInstances
Install ghc-NumInstances 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-NumInstances
using yum
by running the following command:
sudo yum -y install ghc-NumInstances
How To Uninstall ghc-NumInstances on Fedora 36
To uninstall only the ghc-NumInstances
package we can use the following command:
sudo dnf remove ghc-NumInstances
ghc-NumInstances Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/9edac95f2874aba78c6b7ddff351f9734195c1
/usr/lib64/libHSNumInstances-1.4-LhgiQqSG1Hh8scOaackb4V-ghc8.10.5.so
/usr/share/licenses/ghc-NumInstances
/usr/share/licenses/ghc-NumInstances/LICENSE
References
Summary
In this tutorial we learn how to install ghc-NumInstances
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).