How To Install ghc-persistent-prof on Fedora 36

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

Introduction

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

What is ghc-persistent-prof

This package provides the Haskell persistent profiling library.

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

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

sudo dnf -y install ghc-persistent-prof

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

sudo yum -y install ghc-persistent-prof

How To Uninstall ghc-persistent-prof on Fedora 36

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

sudo dnf remove ghc-persistent-prof

ghc-persistent-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/DeleteCascade.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistConfig.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistEntity.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistField.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistQuery.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistStore.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Class/PersistUnique.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Compatible.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Compatible/TH.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Compatible/Types.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/EntityDef.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/EntityDef/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/FieldDef.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/FieldDef/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/ImplicitIdDef.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/ImplicitIdDef/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Names.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/PersistValue.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Quasi.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Quasi/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Class.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Migration.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Orphan/PersistQuery.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Orphan/PersistStore.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Orphan/PersistUnique.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Raw.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Run.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Types.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Types/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Sql/Util.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend/Internal/InsertSqlResult.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend/Internal/IsolationLevel.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend/Internal/MkSqlBackend.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/SqlBackend/Internal/Statement.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/TH.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Types.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/Database/Persist/Types/Base.p_hi
/usr/lib64/ghc-8.10.5/persistent-2.13.1.1/libHSpersistent-2.13.1.1-96PbtZwhoeV3dYqGHAJ08j_p.a

References

Summary

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