How To Install ghc-pretty-simple on Fedora 36

In this tutorial we learn how to install ghc-pretty-simple in Fedora 36. ghc-pretty-simple is Pretty printer for data types with a ‘Show’ instance

Introduction

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

What is ghc-pretty-simple

Please see <https

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

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

sudo dnf -y install ghc-pretty-simple

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

sudo yum -y install ghc-pretty-simple

How To Uninstall ghc-pretty-simple on Fedora 36

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

sudo dnf remove ghc-pretty-simple

ghc-pretty-simple Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/4d9ab2e5a18f11f38b2f018c6f727de5503dd2
/usr/lib64/libHSpretty-simple-4.0.0.0-KuCEclF2YOyAHwdPhjBzA8-ghc8.10.5.so
/usr/share/licenses/ghc-pretty-simple
/usr/share/licenses/ghc-pretty-simple/LICENSE

References

Summary

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