How To Install ghc-statistics on Fedora 36

In this tutorial we learn how to install ghc-statistics in Fedora 36. ghc-statistics is A library of statistical types, data, and functions

Introduction

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

What is ghc-statistics

This library provides a number of common functions and types useful in statistics. We focus on high performance, numerical robustness, and use of good algorithms. Where possible, we provide references to the statistical literature. The library’s facilities can be divided into four broad categories * Working with widely used discrete and continuous probability distributions. (There are dozens of exotic distributions in use; we focus on the most common.) * Computing with sample data histograms, bootstrap methods, significance testing, and regression and autocorrelation analysis. * Random variate generation under several different distributions. * Common statistical tests for significant differences between samples.

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

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

sudo dnf -y install ghc-statistics

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

sudo yum -y install ghc-statistics

How To Uninstall ghc-statistics on Fedora 36

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

sudo dnf remove ghc-statistics

ghc-statistics Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/70f083dc38354483f92c53fd21d0b6afcece30
/usr/lib64/libHSstatistics-0.15.2.0-GSvXJEwINhXKUmVVFW3owq-ghc8.10.5.so
/usr/share/licenses/ghc-statistics
/usr/share/licenses/ghc-statistics/LICENSE

References

Summary

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