How To Install ghc-parsers-prof on Fedora 36

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

Introduction

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

What is ghc-parsers-prof

This package provides the Haskell parsers profiling library.

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

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

sudo dnf -y install ghc-parsers-prof

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

sudo yum -y install ghc-parsers-prof

How To Uninstall ghc-parsers-prof on Fedora 36

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

sudo dnf remove ghc-parsers-prof

ghc-parsers-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Char.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Combinators.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Expression.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/LookAhead.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Permutation.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Token.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Token/Highlight.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/Text/Parser/Token/Style.p_hi
/usr/lib64/ghc-8.10.5/parsers-0.12.10/libHSparsers-0.12.10-JgLuMVb4CXq7urR33M7BKz_p.a

References

Summary

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