How To Install ghc-math-functions on Fedora 36

In this tutorial we learn how to install ghc-math-functions in Fedora 36. ghc-math-functions is Collection of tools for numeric computations

Introduction

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

What is ghc-math-functions

This library contain collection of various utilities for numerical computing. So far there’re special mathematical functions, compensated summation algorithm, summation of series, root finding for real functions, polynomial summation and Chebyshev polynomials.

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

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

sudo dnf -y install ghc-math-functions

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

sudo yum -y install ghc-math-functions

How To Uninstall ghc-math-functions on Fedora 36

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

sudo dnf remove ghc-math-functions

ghc-math-functions Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/7a25fd43b51bd0c06cdbf79409427ec2d8a8b1
/usr/lib64/libHSmath-functions-0.3.4.2-ERaMSMAPvCK8ODPeFXy6yG-ghc8.10.5.so
/usr/share/licenses/ghc-math-functions
/usr/share/licenses/ghc-math-functions/LICENSE

References

Summary

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