How To Install ghc-tasty-rerun on Fedora 36

In this tutorial we learn how to install ghc-tasty-rerun in Fedora 36. ghc-tasty-rerun is Rerun only tests which failed in a previous test run

Introduction

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

What is ghc-tasty-rerun

This ingredient for the <https testing framework allows filtering a test tree depending on the outcome of the previous run. This may be useful in many scenarios, especially when a test suite grows large.

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

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

sudo dnf -y install ghc-tasty-rerun

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

sudo yum -y install ghc-tasty-rerun

How To Uninstall ghc-tasty-rerun on Fedora 36

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

sudo dnf remove ghc-tasty-rerun

ghc-tasty-rerun Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/be7a922c61e239a069e5c116e0ec898744f201
/usr/lib64/libHStasty-rerun-1.1.18-CRUFKSpD6yl3WXoikmZ7ln-ghc8.10.5.so
/usr/share/licenses/ghc-tasty-rerun
/usr/share/licenses/ghc-tasty-rerun/LICENSE

References

Summary

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