How To Install ghc-haskell-gi on Fedora 36
Introduction
In this tutorial we learn how to install ghc-haskell-gi
on Fedora 36.
What is ghc-haskell-gi
Generate Haskell bindings for GObject Introspection capable libraries. This includes most notably Gtk+, but many other libraries in the GObject ecosystem provide introspection data too.
We can use yum
or dnf
to install ghc-haskell-gi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-haskell-gi.
Install ghc-haskell-gi 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-haskell-gi
using dnf
by running the following command:
sudo dnf -y install ghc-haskell-gi
Install ghc-haskell-gi 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-haskell-gi
using yum
by running the following command:
sudo yum -y install ghc-haskell-gi
How To Uninstall ghc-haskell-gi on Fedora 36
To uninstall only the ghc-haskell-gi
package we can use the following command:
sudo dnf remove ghc-haskell-gi
ghc-haskell-gi Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/e24f7c3c15a35c4317e3a1805bcdf6ee43f6ef
/usr/lib64/libHShaskell-gi-0.25.0-FNVaH8MeuIo2vCSEO1KviZ-ghc8.10.5.so
/usr/share/licenses/ghc-haskell-gi
/usr/share/licenses/ghc-haskell-gi/LICENSE
References
Summary
In this tutorial we learn how to install ghc-haskell-gi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).