How To Install ghc-StateVar on Fedora 36
Introduction
In this tutorial we learn how to install ghc-StateVar
on Fedora 36.
What is ghc-StateVar
This package contains state variables, which are references in the IO monad, like IORefs or parts of the OpenGL state.
We can use yum
or dnf
to install ghc-StateVar
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-StateVar.
Install ghc-StateVar 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-StateVar
using dnf
by running the following command:
sudo dnf -y install ghc-StateVar
Install ghc-StateVar 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-StateVar
using yum
by running the following command:
sudo yum -y install ghc-StateVar
How To Uninstall ghc-StateVar on Fedora 36
To uninstall only the ghc-StateVar
package we can use the following command:
sudo dnf remove ghc-StateVar
ghc-StateVar Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/d2bced632b8c6ab55115041fc0502ea6c2298f
/usr/lib64/libHSStateVar-1.2.2-It1hbplVavsB39KpwsXcML-ghc8.10.5.so
/usr/share/licenses/ghc-StateVar
/usr/share/licenses/ghc-StateVar/LICENSE
References
Summary
In this tutorial we learn how to install ghc-StateVar
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).