How To Install ghc-concurrent-extra on Fedora 36

In this tutorial we learn how to install ghc-concurrent-extra in Fedora 36. ghc-concurrent-extra is Extra concurrency primitives

Introduction

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

What is ghc-concurrent-extra

The ‘concurrent-extra’ package offers among other things the following selection of synchronisation primitives * ‘Broadcast’ * ‘Event’ * ‘Lock’ semaphore or mutex. The package additionally provides an alternative that works in the ‘STM’ monad. * ‘RLock’ Also known as a reentrant mutex. * ‘ReadWriteLock’ resources which may be concurrently read, but only sequentially written. * ‘ReadWriteVar’ Please consult the API documentation of the individual modules for more detailed information. This package was inspired by the concurrency libraries of Java and Python.

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

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

sudo dnf -y install ghc-concurrent-extra

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

sudo yum -y install ghc-concurrent-extra

How To Uninstall ghc-concurrent-extra on Fedora 36

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

sudo dnf remove ghc-concurrent-extra

ghc-concurrent-extra Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/52369f63bd7a41b101e3c560ddb151ec8b467f
/usr/lib64/libHSconcurrent-extra-0.7.0.12-3aT9VDiL7lp1rhWSil0YoE-ghc8.10.5.so
/usr/share/licenses/ghc-concurrent-extra
/usr/share/licenses/ghc-concurrent-extra/LICENSE

References

Summary

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