How To Install ghc-natural-transformation on Fedora 36

In this tutorial we learn how to install ghc-natural-transformation in Fedora 36. ghc-natural-transformation is A natural transformation package

Introduction

In this tutorial we learn how to install ghc-natural-transformation on Fedora 36.

What is ghc-natural-transformation

A natural transformation transforms a container ‘f a’ into another container ‘g a’. Natural transformations act as functor morphisms in category theory. The naming of ‘~>’, ’ Kmett’s ‘indexed’ package.

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

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

sudo dnf -y install ghc-natural-transformation

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

sudo yum -y install ghc-natural-transformation

How To Uninstall ghc-natural-transformation on Fedora 36

To uninstall only the ghc-natural-transformation package we can use the following command:

sudo dnf remove ghc-natural-transformation

ghc-natural-transformation Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/e919e214a9bcf6bf0e335b63169fc95c77dad3
/usr/lib64/libHSnatural-transformation-0.4-4xxmfJKzLR7BqooMWKeygO-ghc8.10.5.so
/usr/share/licenses/ghc-natural-transformation
/usr/share/licenses/ghc-natural-transformation/LICENSE

References

Summary

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