How To Install ghc-dotgen on Fedora 36

In this tutorial we learn how to install ghc-dotgen in Fedora 36. ghc-dotgen is Simple interface to build .dot graph files

Introduction

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

What is ghc-dotgen

This package provides a simple interface for building .dot graph files, for input into the dot and graphviz tools. It includes a monadic interface for building graphs.

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

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

sudo dnf -y install ghc-dotgen

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

sudo yum -y install ghc-dotgen

How To Uninstall ghc-dotgen on Fedora 36

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

sudo dnf remove ghc-dotgen

ghc-dotgen Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/19c00dc0927ba4338852b88917d42dee47ec8d
/usr/lib64/libHSdotgen-0.4.3-CYDj58Mb9IBFJpxulglUb5-ghc8.10.5.so
/usr/share/licenses/ghc-dotgen
/usr/share/licenses/ghc-dotgen/LICENSE

References

Summary

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