How To Install ghc-gtk3 on Fedora 36

In this tutorial we learn how to install ghc-gtk3 in Fedora 36. ghc-gtk3 is Binding to the Gtk+ 3 graphical user interface library

Introduction

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

What is ghc-gtk3

This is the core library of the Gtk2Hs suite of libraries for Haskell based on Gtk+. Gtk+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces.

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

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

sudo dnf -y install ghc-gtk3

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

sudo yum -y install ghc-gtk3

How To Uninstall ghc-gtk3 on Fedora 36

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

sudo dnf remove ghc-gtk3

ghc-gtk3 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/c1bbeaafdbfe152c5230d8902261df9f51bcfa
/usr/lib64/libHSgtk3-0.15.5-GUybel6K9MCEVzm1CAKbNB-ghc8.10.5.so
/usr/share/licenses/ghc-gtk3
/usr/share/licenses/ghc-gtk3/COPYING

References

Summary

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