How To Install ghc-megaparsec-prof on Fedora 36

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

Introduction

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

What is ghc-megaparsec-prof

This package provides the Haskell megaparsec profiling library.

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

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

sudo dnf -y install ghc-megaparsec-prof

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

sudo yum -y install ghc-megaparsec-prof

How To Uninstall ghc-megaparsec-prof on Fedora 36

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

sudo dnf remove ghc-megaparsec-prof

ghc-megaparsec-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte/Lexer.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char/Lexer.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Class.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Common.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Debug.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error/Builder.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Internal.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Lexer.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Pos.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/State.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Stream.p_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/libHSmegaparsec-9.0.1-GCUc7J60CqY64xQOkte43B_p.a

References

Summary

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