How To Install ghc-th-lift-instances on Fedora 36

In this tutorial we learn how to install ghc-th-lift-instances in Fedora 36. ghc-th-lift-instances is Lift instances for template-haskell for common data types

Introduction

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

What is ghc-th-lift-instances

Most data types in the haskell platform do not have Lift instances. This package provides orphan instances for containers, text, bytestring and vector. It also provides compat instances for older versions of ’template-haskell’ Note that <https provides Template Haskell based derivation of ‘Lift’ instances (when you cannot use ‘DeriveLift’ extension), and <https instances for TH datatypes.

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

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

sudo dnf -y install ghc-th-lift-instances

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

sudo yum -y install ghc-th-lift-instances

How To Uninstall ghc-th-lift-instances on Fedora 36

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

sudo dnf remove ghc-th-lift-instances

ghc-th-lift-instances Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/8274c7a4ee4eb6c9c8fc9946f9c230ef6054dd
/usr/lib64/libHSth-lift-instances-0.1.18-ITyYZisaI1c1HXqjWD0pX9-ghc8.10.5.so
/usr/share/licenses/ghc-th-lift-instances
/usr/share/licenses/ghc-th-lift-instances/LICENSE

References

Summary

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