How To Install ghc-gtk2hs-buildtools on Fedora 36

In this tutorial we learn how to install ghc-gtk2hs-buildtools in Fedora 36. ghc-gtk2hs-buildtools is Haskell gtk2hs-buildtools library

Introduction

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

What is ghc-gtk2hs-buildtools

This package provides the Haskell gtk2hs-buildtools shared library.

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

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

sudo dnf -y install ghc-gtk2hs-buildtools

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

sudo yum -y install ghc-gtk2hs-buildtools

How To Uninstall ghc-gtk2hs-buildtools on Fedora 36

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

sudo dnf remove ghc-gtk2hs-buildtools

ghc-gtk2hs-buildtools Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/520f0fc5d2ac5db94dc89bfe0253edbb480ef0
/usr/lib64/libHSgtk2hs-buildtools-0.13.8.2-4q53Zab22dU5wztxP2J7XV-ghc8.10.5.so

References

Summary

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