How To Install ghc-show on Fedora 36

In this tutorial we learn how to install ghc-show in Fedora 36. ghc-show is ‘Show’ instances for Lambdabot

Introduction

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

What is ghc-show

This library provides ShowQ, ShowFun, and SimpleReflect. ShowFun gives us Typeable instances for neutering IO expressions. ShowQ adds SmallCheck and QuickCheck support. SimpleReflect allows us to literally see how functions ’expand'.

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

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

sudo dnf -y install ghc-show

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

sudo yum -y install ghc-show

How To Uninstall ghc-show on Fedora 36

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

sudo dnf remove ghc-show

ghc-show Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/902aa9b928dc266cc0ac76ad01893808e80a64
/usr/lib64/libHSshow-0.6-8UnFKIlY4upK8zvDtxVRC0-ghc8.10.5.so
/usr/share/licenses/ghc-show
/usr/share/licenses/ghc-show/LICENSE

References

Summary

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