How To Install ghc-doctemplates-devel on Fedora 36

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

Introduction

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

What is ghc-doctemplates-devel

This package provides the Haskell doctemplates library development files.

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

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

sudo dnf -y install ghc-doctemplates-devel

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

sudo yum -y install ghc-doctemplates-devel

How To Uninstall ghc-doctemplates-devel on Fedora 36

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

sudo dnf remove ghc-doctemplates-devel

ghc-doctemplates-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/doctemplates-0.9
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates.dyn_hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates.hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates/Internal.hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates/Parser.dyn_hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/Text/DocTemplates/Parser.hi
/usr/lib64/ghc-8.10.5/doctemplates-0.9/libHSdoctemplates-0.9-4WZUf8rqbJ9KNbMnbBNrhC.a
/usr/lib64/ghc-8.10.5/package.conf.d/doctemplates-0.9.conf
/usr/share/doc/ghc-doctemplates-devel
/usr/share/doc/ghc-doctemplates-devel/README.md
/usr/share/doc/ghc-doctemplates-devel/changelog.md

References

Summary

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