How To Install ghc-math-functions-prof on Fedora 36

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

Introduction

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

What is ghc-math-functions-prof

This package provides the Haskell math-functions profiling library.

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

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

sudo dnf -y install ghc-math-functions-prof

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

sudo yum -y install ghc-math-functions-prof

How To Uninstall ghc-math-functions-prof on Fedora 36

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

sudo dnf remove ghc-math-functions-prof

ghc-math-functions-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/MathFunctions/Comparison.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/MathFunctions/Constants.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/Polynomial.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/Polynomial/Chebyshev.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/RootFinding.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/Series.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/SpecFunctions.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/SpecFunctions/Compat.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/SpecFunctions/Extra.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/SpecFunctions/Internal.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/Numeric/Sum.p_hi
/usr/lib64/ghc-8.10.5/math-functions-0.3.4.2/libHSmath-functions-0.3.4.2-ERaMSMAPvCK8ODPeFXy6yG_p.a

References

Summary

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