How To Install ghc-data-fix on Fedora 36

In this tutorial we learn how to install ghc-data-fix in Fedora 36. ghc-data-fix is Fixpoint data types

Introduction

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

What is ghc-data-fix

Fixpoint types and recursion schemes. If you define your AST as fixpoint type, you get fold and unfold operations for free. Thanks for contribution to

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

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

sudo dnf -y install ghc-data-fix

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

sudo yum -y install ghc-data-fix

How To Uninstall ghc-data-fix on Fedora 36

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

sudo dnf remove ghc-data-fix

ghc-data-fix Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7ff0148c6d314e57ced5eb36cd3396cea5a0a6
/usr/lib64/libHSdata-fix-0.3.2-7pPEmQlieqX4cil1TJFJFh-ghc8.10.5.so
/usr/share/licenses/ghc-data-fix
/usr/share/licenses/ghc-data-fix/LICENSE

References

Summary

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