How To Install ghc-assoc-devel on Fedora 36

In this tutorial we learn how to install ghc-assoc-devel in Fedora 36. ghc-assoc-devel is Haskell assoc library development files

Introduction

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

What is ghc-assoc-devel

This package provides the Haskell assoc library development files.

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

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

sudo dnf -y install ghc-assoc-devel

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

sudo yum -y install ghc-assoc-devel

How To Uninstall ghc-assoc-devel on Fedora 36

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

sudo dnf remove ghc-assoc-devel

ghc-assoc-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/assoc-1.0.2
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data/Bifunctor
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data/Bifunctor/Assoc.dyn_hi
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data/Bifunctor/Assoc.hi
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data/Bifunctor/Swap.dyn_hi
/usr/lib64/ghc-8.10.5/assoc-1.0.2/Data/Bifunctor/Swap.hi
/usr/lib64/ghc-8.10.5/assoc-1.0.2/libHSassoc-1.0.2-3LDvJeSmQBV84Dfb8Yptug.a
/usr/lib64/ghc-8.10.5/package.conf.d/assoc-1.0.2.conf
/usr/share/doc/ghc-assoc-devel
/usr/share/doc/ghc-assoc-devel/CHANGELOG.md

References

Summary

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