How To Install ghc-gi-gtk on Fedora 36

In this tutorial we learn how to install ghc-gi-gtk in Fedora 36. ghc-gi-gtk is Gtk bindings

Introduction

In this tutorial we learn how to install ghc-gi-gtk on Fedora 36.

What is ghc-gi-gtk

Bindings for Gtk, autogenerated by haskell-gi.

We can use yum or dnf to install ghc-gi-gtk on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-gi-gtk.

Install ghc-gi-gtk 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-gi-gtk using dnf by running the following command:

sudo dnf -y install ghc-gi-gtk

Install ghc-gi-gtk 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-gi-gtk using yum by running the following command:

sudo yum -y install ghc-gi-gtk

How To Uninstall ghc-gi-gtk on Fedora 36

To uninstall only the ghc-gi-gtk package we can use the following command:

sudo dnf remove ghc-gi-gtk

ghc-gi-gtk Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/d7062928050b37bf0e748bfac4080f4bfe6654
/usr/lib64/libHSgi-gtk-3.0.37-Ke91kVXn11BB609CF8hzZt-ghc8.10.5.so
/usr/share/licenses/ghc-gi-gtk
/usr/share/licenses/ghc-gi-gtk/LICENSE

References

Summary

In this tutorial we learn how to install ghc-gi-gtk on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).