How To Install ghc-doctest-prof on Fedora 36

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

Introduction

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

What is ghc-doctest-prof

This package provides the Haskell doctest profiling library.

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

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

sudo dnf -y install ghc-doctest-prof

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

sudo yum -y install ghc-doctest-prof

How To Uninstall ghc-doctest-prof on Fedora 36

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

sudo dnf remove ghc-doctest-prof

ghc-doctest-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/doctest-0.17/Extract.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/GhcUtil.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Interpreter.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Language/Haskell/GhciWrapper.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Location.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Options.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/PackageDBs.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Parse.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Paths_doctest.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Property.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Run.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Runner.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Runner/Example.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Sandbox.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Test/DocTest.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/Util.p_hi
/usr/lib64/ghc-8.10.5/doctest-0.17/libHSdoctest-0.17-19IB1n90QfD2HUUh4ln1at_p.a

References

Summary

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