How To Install ghc-transformers-compat on Fedora 36

In this tutorial we learn how to install ghc-transformers-compat in Fedora 36. ghc-transformers-compat is Compatibility shim exposing the new types from newer transformers

Introduction

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

What is ghc-transformers-compat

This package includes backported versions of types that were added to transformers in transformers 0.3, 0.4, and 0.5 for users who need strict transformers 0.2 or 0.3 compatibility to run on old versions of the platform, but also need those types.

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

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

sudo dnf -y install ghc-transformers-compat

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

sudo yum -y install ghc-transformers-compat

How To Uninstall ghc-transformers-compat on Fedora 36

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

sudo dnf remove ghc-transformers-compat

ghc-transformers-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/f6d5c4eaa5a1f6dc7e4418911fdcdfeb1b183d
/usr/lib64/libHStransformers-compat-0.6.6-8xD7tdhdla21VYsnm1hEvk-ghc8.10.5.so
/usr/share/licenses/ghc-transformers-compat
/usr/share/licenses/ghc-transformers-compat/LICENSE

References

Summary

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