How To Install ghc-devel on Fedora 36

In this tutorial we learn how to install ghc-devel in Fedora 36. ghc-devel is GHC development libraries meta package

Introduction

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

What is ghc-devel

This is a meta-package for all the development library packages in GHC except the ghc library, which is installed by the toplevel ghc metapackage.

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

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

sudo dnf -y install ghc-devel

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

sudo yum -y install ghc-devel

How To Uninstall ghc-devel on Fedora 36

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

sudo dnf remove ghc-devel

ghc-devel Package Contents on Fedora 36

References

Summary

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