How To Install ghc-dec-devel on Fedora 36

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

Introduction

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

What is ghc-dec-devel

This package provides the Haskell dec library development files.

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

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

sudo dnf -y install ghc-dec-devel

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

sudo yum -y install ghc-dec-devel

How To Uninstall ghc-dec-devel on Fedora 36

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

sudo dnf remove ghc-dec-devel

ghc-dec-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/dec-0.0.4
/usr/lib64/ghc-8.10.5/dec-0.0.4/Data
/usr/lib64/ghc-8.10.5/dec-0.0.4/Data/Type
/usr/lib64/ghc-8.10.5/dec-0.0.4/Data/Type/Dec.dyn_hi
/usr/lib64/ghc-8.10.5/dec-0.0.4/Data/Type/Dec.hi
/usr/lib64/ghc-8.10.5/dec-0.0.4/libHSdec-0.0.4-G4OCtY0mNAx8DKRE7fgeSn.a
/usr/lib64/ghc-8.10.5/package.conf.d/dec-0.0.4.conf
/usr/share/doc/ghc-dec-devel
/usr/share/doc/ghc-dec-devel/ChangeLog.md

References

Summary

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