How To Install ghc-optics-core-prof on Fedora 36

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

Introduction

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

What is ghc-optics-core-prof

This package provides the Haskell optics-core profiling library.

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

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

sudo dnf -y install ghc-optics-core-prof

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

sudo yum -y install ghc-optics-core-prof

How To Uninstall ghc-optics-core-prof on Fedora 36

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

sudo dnf remove ghc-optics-core-prof

ghc-optics-core-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Either/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/IntMap/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/IntSet/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/List/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Map/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Maybe/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Sequence/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Set/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Tree/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Tuple/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Data/Typeable/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/GHC/Generics/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Numeric/Optics.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/AffineFold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/AffineTraversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Arrow.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/At/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Coerce.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Cons/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Each/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Empty/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Fold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Getter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Indexed/Core.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Bi.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Fold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Indexed.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Indexed/Classes.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/IxFold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/IxSetter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/IxTraversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Optic.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Optic/Subtyping.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Optic/TypeLevel.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Optic/Types.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Setter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Traversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Internal/Utils.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Iso.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxAffineFold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxAffineTraversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxFold.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxGetter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxLens.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxSetter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/IxTraversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Label.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Lens.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Mapping.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Operators.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Operators/Unsafe.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Optic.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Prism.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Re.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/ReadOnly.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/ReversedLens.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/ReversedPrism.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Review.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Setter.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/Optics/Traversal.p_hi
/usr/lib64/ghc-8.10.5/optics-core-0.3.0.1/libHSoptics-core-0.3.0.1-DFAEWf7nmPbDKSYMwKdLED_p.a

References

Summary

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