How To Install ghc-turtle-prof on Fedora 36

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

Introduction

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

What is ghc-turtle-prof

This package provides the Haskell turtle profiling library.

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

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

sudo dnf -y install ghc-turtle-prof

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

sudo yum -y install ghc-turtle-prof

How To Uninstall ghc-turtle-prof on Fedora 36

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

sudo dnf remove ghc-turtle-prof

ghc-turtle-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Bytes.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Format.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Internal.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Line.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Options.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Pattern.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Prelude.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Shell.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/Turtle/Tutorial.p_hi
/usr/lib64/ghc-8.10.5/turtle-1.5.22/libHSturtle-1.5.22-BgViePmQqmEDR6cYDVLhgg_p.a

References

Summary

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