How To Install ghc-criterion on Fedora 36

In this tutorial we learn how to install ghc-criterion in Fedora 36. ghc-criterion is Robust, reliable performance measurement and analysis

Introduction

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

What is ghc-criterion

This library provides a powerful but simple way to measure software performance. It provides both a framework for executing and analysing benchmarks and a set of driver functions that makes it easy to build and run benchmarks, and to analyse their results. The fastest way to get started is to read the <http by the documentation and examples in the “Criterion.Main” module. For examples of the kinds of reports that criterion generates, see <http

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

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

sudo dnf -y install ghc-criterion

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

sudo yum -y install ghc-criterion

How To Uninstall ghc-criterion on Fedora 36

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

sudo dnf remove ghc-criterion

ghc-criterion Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/7b0310ec8490db1b7c76826381923dddb3fff5
/usr/lib64/libHScriterion-1.5.9.0-JwjWCxCHcQ6Eh2a16CqoC0-ghc8.10.5.so
/usr/share/criterion-1.5.9.0
/usr/share/criterion-1.5.9.0/templates
/usr/share/criterion-1.5.9.0/templates/criterion.css
/usr/share/criterion-1.5.9.0/templates/criterion.js
/usr/share/criterion-1.5.9.0/templates/default.tpl
/usr/share/criterion-1.5.9.0/templates/json.tpl
/usr/share/licenses/ghc-criterion
/usr/share/licenses/ghc-criterion/LICENSE

References

Summary

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