How To Install ghc-distributive on Fedora 36

In this tutorial we learn how to install ghc-distributive in Fedora 36. ghc-distributive is Distributive functors – Dual to Traversable

Introduction

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

What is ghc-distributive

Distributive functors – Dual to ‘Traversable’.

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

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

sudo dnf -y install ghc-distributive

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

sudo yum -y install ghc-distributive

How To Uninstall ghc-distributive on Fedora 36

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

sudo dnf remove ghc-distributive

ghc-distributive Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/3c16a2e8efc8e79ec81aa5713242382d592cb4
/usr/lib64/libHSdistributive-0.6.2.1-H5JnS9HQD80xhhnSkFFEE-ghc8.10.5.so
/usr/share/licenses/ghc-distributive
/usr/share/licenses/ghc-distributive/LICENSE

References

Summary

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