How To Install ghc-psqueues on Fedora 36

In this tutorial we learn how to install ghc-psqueues in Fedora 36. ghc-psqueues is Pure priority search queues

Introduction

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

What is ghc-psqueues

The psqueues package provides Priority Search Queues> in three different flavors. Each of the three implementations provides the same API, so they can be used interchangeably. Typical applications of Priority Search Queues include * Caches, and more specifically LRU Caches; * Schedulers; * Pathfinding algorithms, such as Dijkstra’s and A*.

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

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

sudo dnf -y install ghc-psqueues

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

sudo yum -y install ghc-psqueues

How To Uninstall ghc-psqueues on Fedora 36

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

sudo dnf remove ghc-psqueues

ghc-psqueues Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/1b73ad9933dcc6de96fb1b5f65884b604bf386
/usr/lib64/libHSpsqueues-0.2.7.2-51Fwy4C6rg5De13L53tNis-ghc8.10.5.so
/usr/share/licenses/ghc-psqueues
/usr/share/licenses/ghc-psqueues/LICENSE

References

Summary

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