How To Install ghc-adjunctions-prof on Fedora 36

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

Introduction

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

What is ghc-adjunctions-prof

This package provides the Haskell adjunctions profiling library.

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

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

sudo dnf -y install ghc-adjunctions-prof

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

sudo yum -y install ghc-adjunctions-prof

How To Uninstall ghc-adjunctions-prof on Fedora 36

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

sudo dnf remove ghc-adjunctions-prof

ghc-adjunctions-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Comonad/Representable/Store.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Comonad/Trans/Adjoint.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Monad/Representable/Reader.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Monad/Representable/State.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Monad/Trans/Adjoint.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Monad/Trans/Contravariant/Adjoint.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Control/Monad/Trans/Conts.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Data/Functor/Adjunction.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Data/Functor/Contravariant/Adjunction.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Data/Functor/Contravariant/Rep.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/Data/Functor/Rep.p_hi
/usr/lib64/ghc-8.10.5/adjunctions-4.4/libHSadjunctions-4.4-7fgH6obGUOD89315YCSezB_p.a

References

Summary

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