How To Install ghc-prelude-extras-devel on Fedora 36

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

Introduction

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

What is ghc-prelude-extras-devel

This package provides the Haskell prelude-extras library development files.

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

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

sudo dnf -y install ghc-prelude-extras-devel

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

sudo yum -y install ghc-prelude-extras-devel

How To Uninstall ghc-prelude-extras-devel on Fedora 36

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

sudo dnf remove ghc-prelude-extras-devel

ghc-prelude-extras-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/prelude-extras-0.4.0.3.conf
/usr/lib64/ghc-8.10.5/prelude-extras-0.4.0.3
/usr/lib64/ghc-8.10.5/prelude-extras-0.4.0.3/Prelude
/usr/lib64/ghc-8.10.5/prelude-extras-0.4.0.3/Prelude/Extras.dyn_hi
/usr/lib64/ghc-8.10.5/prelude-extras-0.4.0.3/Prelude/Extras.hi
/usr/lib64/ghc-8.10.5/prelude-extras-0.4.0.3/libHSprelude-extras-0.4.0.3-FCoSOtTiikDD8Es4OHTqgy.a
/usr/share/doc/ghc-prelude-extras-devel
/usr/share/doc/ghc-prelude-extras-devel/CHANGELOG.markdown

References

Summary

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