How To Install ghc-profunctors on Fedora 36

In this tutorial we learn how to install ghc-profunctors in Fedora 36. ghc-profunctors is Profunctors

Introduction

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

What is ghc-profunctors

Profunctor represents a profunctor from Hask -> Hask. Intuitively it is a bifunctor where the first argument is contravariant and the second argument is covariant.

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

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

sudo dnf -y install ghc-profunctors

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

sudo yum -y install ghc-profunctors

How To Uninstall ghc-profunctors on Fedora 36

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

sudo dnf remove ghc-profunctors

ghc-profunctors Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/98d8df9a5bc4ea898e177ba88b889a65528c17
/usr/lib64/libHSprofunctors-5.6.2-E3FbPhKAoc42a0erEN2Yd0-ghc8.10.5.so
/usr/share/licenses/ghc-profunctors
/usr/share/licenses/ghc-profunctors/LICENSE

References

Summary

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