How To Install ghc-persistent-sqlite-prof on Fedora 36

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

Introduction

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

What is ghc-persistent-sqlite-prof

This package provides the Haskell persistent-sqlite profiling library.

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

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

sudo dnf -y install ghc-persistent-sqlite-prof

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

sudo yum -y install ghc-persistent-sqlite-prof

How To Uninstall ghc-persistent-sqlite-prof on Fedora 36

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

sudo dnf remove ghc-persistent-sqlite-prof

ghc-persistent-sqlite-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/persistent-sqlite-2.13.0.3/Database/Persist/Sqlite.p_hi
/usr/lib64/ghc-8.10.5/persistent-sqlite-2.13.0.3/Database/Sqlite.p_hi
/usr/lib64/ghc-8.10.5/persistent-sqlite-2.13.0.3/Database/Sqlite/Internal.p_hi
/usr/lib64/ghc-8.10.5/persistent-sqlite-2.13.0.3/libHSpersistent-sqlite-2.13.0.3-5km3b0yuhzGLIihQYSIv4z_p.a

References

Summary

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