How To Install ghc-ormolu-prof on Fedora 36

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

Introduction

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

What is ghc-ormolu-prof

This package provides the Haskell ormolu profiling library.

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

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

sudo dnf -y install ghc-ormolu-prof

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

sudo yum -y install ghc-ormolu-prof

How To Uninstall ghc-ormolu-prof on Fedora 36

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

sudo dnf remove ghc-ormolu-prof

ghc-ormolu-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/GHC.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/GHC/DynFlags.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Config.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Diff/ParseResult.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Diff/Text.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Exception.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Imports.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser/Anns.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser/CommentStream.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser/Pragma.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser/Result.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Parser/Shebang.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Combinators.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Comments.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Internal.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Common.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Annotation.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Class.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Data.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Default.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Foreign.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Instance.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/RoleAnnotation.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Rule.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Signature.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Splice.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Type.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/TypeFamily.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Value.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Declaration/Warning.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/ImportExport.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Module.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Pragma.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Meat/Type.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/Operators.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Printer/SpanStream.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Processing/Common.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Processing/Cpp.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Processing/Postprocess.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Processing/Preprocess.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Terminal.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/Ormolu/Utils.p_hi
/usr/lib64/ghc-8.10.5/ormolu-0.1.4.1/libHSormolu-0.1.4.1-HpacYDuP4US4vmf7t2AR7o_p.a

References

Summary

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