How To Install ghc-fgl on Fedora 36

In this tutorial we learn how to install ghc-fgl in Fedora 36. ghc-fgl is Martin Erwig’s Functional Graph Library

Introduction

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

What is ghc-fgl

An inductive representation of manipulating graph data structures. Original website can be found at <http

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

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

sudo dnf -y install ghc-fgl

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

sudo yum -y install ghc-fgl

How To Uninstall ghc-fgl on Fedora 36

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

sudo dnf remove ghc-fgl

ghc-fgl Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/f4b9cdc8cda844548836a13ca701db7362252f
/usr/lib64/libHSfgl-5.7.0.3-BBMrb8ghmLtI22fSU4sk0r-ghc8.10.5.so
/usr/share/licenses/ghc-fgl
/usr/share/licenses/ghc-fgl/LICENSE

References

Summary

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