How To Install ghc-yaml-prof on Fedora 36

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

Introduction

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

What is ghc-yaml-prof

This package provides the Haskell yaml profiling library.

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

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

sudo dnf -y install ghc-yaml-prof

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

sudo yum -y install ghc-yaml-prof

How To Uninstall ghc-yaml-prof on Fedora 36

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

sudo dnf remove ghc-yaml-prof

ghc-yaml-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Aeson.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Builder.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Config.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Include.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Internal.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Parser.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/Pretty.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Data/Yaml/TH.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/Paths_yaml.p_hi
/usr/lib64/ghc-8.10.5/yaml-0.11.5.0/libHSyaml-0.11.5.0-C2NW18DZLKk6EgIN5vT2yi_p.a

References

Summary

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