How To Install ghc-assoc on Fedora 36

In this tutorial we learn how to install ghc-assoc in Fedora 36. ghc-assoc is Swap and assoc

Introduction

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

What is ghc-assoc

Provides generalizations of ‘swap ‘assoc (e.g. Either, These).

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

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

sudo dnf -y install ghc-assoc

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

sudo yum -y install ghc-assoc

How To Uninstall ghc-assoc on Fedora 36

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

sudo dnf remove ghc-assoc

ghc-assoc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/7eb33332b9b1e34da0c4c3c1406a623a52dfb4
/usr/lib64/libHSassoc-1.0.2-3LDvJeSmQBV84Dfb8Yptug-ghc8.10.5.so
/usr/share/licenses/ghc-assoc
/usr/share/licenses/ghc-assoc/LICENSE

References

Summary

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