How To Install ghc-optparse-simple-prof on Fedora 36

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

Introduction

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

What is ghc-optparse-simple-prof

This package provides the Haskell optparse-simple profiling library.

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

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

sudo dnf -y install ghc-optparse-simple-prof

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

sudo yum -y install ghc-optparse-simple-prof

How To Uninstall ghc-optparse-simple-prof on Fedora 36

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

sudo dnf remove ghc-optparse-simple-prof

ghc-optparse-simple-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Options/Applicative/Simple.p_hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Paths_optparse_simple.p_hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/libHSoptparse-simple-0.1.1.4-BPLL7YcmsRAJYg6KzpGArs_p.a

References

Summary

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