How To Install ghc-cpphs-prof on Fedora 36

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

Introduction

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

What is ghc-cpphs-prof

This package provides the Haskell cpphs profiling library.

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

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

sudo dnf -y install ghc-cpphs-prof

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

sudo yum -y install ghc-cpphs-prof

How To Uninstall ghc-cpphs-prof on Fedora 36

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

sudo dnf remove ghc-cpphs-prof

ghc-cpphs-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/CppIfdef.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/HashDefine.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/MacroPass.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/Options.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/Position.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/ReadFirst.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/RunCpphs.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/SymTab.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Cpphs/Tokenise.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/Language/Preprocessor/Unlit.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/TimeCompat.p_hi
/usr/lib64/ghc-8.10.5/cpphs-1.20.9.1/libHScpphs-1.20.9.1-8u5B4l6K95R8QvpGeHGR6D_p.a

References

Summary

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