How To Install ghc-repline on Fedora 36

In this tutorial we learn how to install ghc-repline in Fedora 36. ghc-repline is Haskeline wrapper for GHCi-like REPL interfaces

Introduction

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

What is ghc-repline

Haskeline wrapper for GHCi-like REPL interfaces. Composable with normal mtl transformers.

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

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

sudo dnf -y install ghc-repline

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

sudo yum -y install ghc-repline

How To Uninstall ghc-repline on Fedora 36

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

sudo dnf remove ghc-repline

ghc-repline Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/ba7e83ad9a4d64c9e5b4144cb0adfc4f9b6f29
/usr/lib64/libHSrepline-0.4.0.0-KFIMb37KT4JF8sbXX0sefZ-ghc8.10.5.so
/usr/share/licenses/ghc-repline
/usr/share/licenses/ghc-repline/LICENSE

References

Summary

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