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

In this tutorial we learn how to install ghc-basic-prelude-prof in Fedora 36. ghc-basic-prelude-prof is Haskell basic-prelude profiling library

Introduction

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

What is ghc-basic-prelude-prof

This package provides the Haskell basic-prelude profiling library.

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

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

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

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

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

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

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

sudo dnf remove ghc-basic-prelude-prof

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

/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/BasicPrelude.p_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/CorePrelude.p_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/Paths_basic_prelude.p_hi
/usr/lib64/ghc-8.10.5/basic-prelude-0.7.0/libHSbasic-prelude-0.7.0-CaexTuq5vhg8JDVa1AkwwN_p.a

References

Summary

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