How To Install ghc-doclayout on Fedora 36

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

Introduction

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

What is ghc-doclayout

This package provides the Haskell doclayout library.

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

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

sudo dnf -y install ghc-doclayout

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

sudo yum -y install ghc-doclayout

How To Uninstall ghc-doclayout on Fedora 36

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

sudo dnf remove ghc-doclayout

ghc-doclayout Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/23455dea643d52b9d611dddb377943939a7ed7
/usr/lib64/libHSdoclayout-0.3.0.2-LRfBxDmFA527NcfjEbc0Qa-ghc8.10.5.so
/usr/share/licenses/ghc-doclayout
/usr/share/licenses/ghc-doclayout/LICENSE

References

Summary

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