How To Install ghc-doclayout-devel on Fedora 36

In this tutorial we learn how to install ghc-doclayout-devel in Fedora 36. ghc-doclayout-devel is Haskell doclayout library development files

Introduction

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

What is ghc-doclayout-devel

This package provides the Haskell doclayout library development files.

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

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

sudo dnf -y install ghc-doclayout-devel

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

sudo yum -y install ghc-doclayout-devel

How To Uninstall ghc-doclayout-devel on Fedora 36

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

sudo dnf remove ghc-doclayout-devel

ghc-doclayout-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/doclayout-0.3.0.2
/usr/lib64/ghc-8.10.5/doclayout-0.3.0.2/Text
/usr/lib64/ghc-8.10.5/doclayout-0.3.0.2/Text/DocLayout.dyn_hi
/usr/lib64/ghc-8.10.5/doclayout-0.3.0.2/Text/DocLayout.hi
/usr/lib64/ghc-8.10.5/doclayout-0.3.0.2/libHSdoclayout-0.3.0.2-LRfBxDmFA527NcfjEbc0Qa.a
/usr/lib64/ghc-8.10.5/package.conf.d/doclayout-0.3.0.2.conf

References

Summary

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