How To Install ghc-glib on Fedora 36
Introduction
In this tutorial we learn how to install ghc-glib on Fedora 36.
What is ghc-glib
GLib is a collection of C data structures and utility functions for the GObject system, main loop implementation, for strings and common data structures dealing with Unicode. This package only binds as much functionality as required to support the packages that wrap libraries that are themselves based on GLib.
We can use yum or dnf to install ghc-glib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-glib.
Install ghc-glib 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-glib using dnf by running the following command:
sudo dnf -y install ghc-glib
Install ghc-glib 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-glib using yum by running the following command:
sudo yum -y install ghc-glib
How To Uninstall ghc-glib on Fedora 36
To uninstall only the ghc-glib package we can use the following command:
sudo dnf remove ghc-glib
ghc-glib Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/92811d1c65d1b8980e3ee7599b4da79b219ca9
/usr/lib64/libHSglib-0.13.8.1-CGawqNO0jrCGPZubbcKo45-ghc8.10.5.so
/usr/share/licenses/ghc-glib
/usr/share/licenses/ghc-glib/COPYING
References
Summary
In this tutorial we learn how to install ghc-glib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).