How To Install ghc-stack-prof on Fedora 36

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

Introduction

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

What is ghc-stack-prof

This package provides the Haskell stack profiling library.

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

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

sudo dnf -y install ghc-stack-prof

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

sudo yum -y install ghc-stack-prof

How To Uninstall ghc-stack-prof on Fedora 36

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

sudo dnf remove ghc-stack-prof

ghc-stack-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/stack-2.7.3/Control/Concurrent/Execute.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Data/Attoparsec/Args.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Data/Attoparsec/Combinators.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Data/Attoparsec/Interpreter.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Data/Monoid/Map.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Network/HTTP/StackClient.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Options/Applicative/Args.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Options/Applicative/Builder/Extra.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Options/Applicative/Complicated.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Path/CheckInstall.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Path/Extended.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Path/Extra.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Path/Find.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Paths_stack.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Cache.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/ConstructPlan.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Execute.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Haddock.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Installed.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Source.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Build/Target.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/BuildPlan.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Clean.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Config.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Config/Build.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Config/Docker.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Config/Nix.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/ConfigCmd.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Constants.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Constants/Config.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Coverage.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/DefaultColorWhen.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Docker.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Dot.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/FileWatch.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/GhcPkg.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Ghci.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Ghci/Script.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Hoogle.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/IDE.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Init.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/List.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Lock.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Ls.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/New.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Nix.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/BenchParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/BuildMonoidParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/BuildParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/CleanParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/Completion.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/ConfigParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/DockerParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/DotParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/ExecParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/GhcBuildParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/GhcVariantParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/GhciParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/GlobalParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/HaddockParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/HpcReportParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/LogLevelParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/NewParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/NixParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/PackageParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/ResolverParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/SDistParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/ScriptParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/TestParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/UploadParser.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Options/Utils.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Package.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/PackageDump.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Path.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Prelude.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Runners.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/SDist.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Script.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Setup.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Setup/Installed.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/SetupCmd.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/SourceMap.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Storage/Project.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Storage/User.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Storage/Util.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Build.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Cache.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Compiler.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/CompilerBuild.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Config.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Config/Build.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Docker.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/GhcPkgId.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/NamedComponent.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Nix.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Package.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/PackageName.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Resolver.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/SourceMap.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/TemplateName.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/Version.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Types/VersionIntervals.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Unpack.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Upgrade.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/Stack/Upload.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/System/Info/ShortPathName.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/System/Permissions.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/System/Process/Pager.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/System/Terminal.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/System/Uname.p_hi
/usr/lib64/ghc-8.10.5/stack-2.7.3/libHSstack-2.7.3-6fj3tSke7OM6cvI7NNKfTX_p.a

References

Summary

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