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

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

Introduction

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

What is ghc-simple-cmd-prof

This package provides the Haskell simple-cmd profiling library.

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

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

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

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

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

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

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

sudo dnf remove ghc-simple-cmd-prof

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

/usr/lib64/ghc-8.10.5/simple-cmd-0.2.3/SimpleCmd.p_hi
/usr/lib64/ghc-8.10.5/simple-cmd-0.2.3/SimpleCmd/Git.p_hi
/usr/lib64/ghc-8.10.5/simple-cmd-0.2.3/SimpleCmd/Rpm.p_hi
/usr/lib64/ghc-8.10.5/simple-cmd-0.2.3/libHSsimple-cmd-0.2.3-840zQbCNTkMLwtJsXW3uAN_p.a

References

Summary

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