How To Install ghc-th-abstraction on Fedora 36

In this tutorial we learn how to install ghc-th-abstraction in Fedora 36. ghc-th-abstraction is Nicer interface for reified information about data types

Introduction

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

What is ghc-th-abstraction

This package normalizes variations in the interface for inspecting datatype information via Template Haskell so that packages and support a single, easier to use informational datatype while supporting many versions of Template Haskell.

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

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

sudo dnf -y install ghc-th-abstraction

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

sudo yum -y install ghc-th-abstraction

How To Uninstall ghc-th-abstraction on Fedora 36

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

sudo dnf remove ghc-th-abstraction

ghc-th-abstraction Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/cc73bd6cb9be21dad2d8f1f3410429988ffb8e
/usr/lib64/libHSth-abstraction-0.4.2.0-5X2XqBZ7rCLBwJXut5dQBZ-ghc8.10.5.so
/usr/share/licenses/ghc-th-abstraction
/usr/share/licenses/ghc-th-abstraction/LICENSE

References

Summary

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