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

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

Introduction

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

What is ghc-basic-prelude-devel

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

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

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

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

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

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

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

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

sudo dnf remove ghc-basic-prelude-devel

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

/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/BasicPrelude.dyn_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/BasicPrelude.hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/CorePrelude.dyn_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/CorePrelude.hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/Paths_basic_prelude.dyn_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/Paths_basic_prelude.hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/libHSbasic-prelude-0.7.0-CaexTuq5vhg8JDVa1AkwwN.a
/usr/lib64/ghc-8.10.5/package.conf.d/basic-prelude-0.7.0.conf
/usr/share/doc/ghc-basic-prelude-devel
/usr/share/doc/ghc-basic-prelude-devel/ChangeLog.md
/usr/share/doc/ghc-basic-prelude-devel/README.md

References

Summary

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