How To Install ghc-repline-devel on Fedora 36

In this tutorial we learn how to install ghc-repline-devel in Fedora 36. ghc-repline-devel is Haskell repline library development files

Introduction

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

What is ghc-repline-devel

This package provides the Haskell repline library development files.

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

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

sudo dnf -y install ghc-repline-devel

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

sudo yum -y install ghc-repline-devel

How To Uninstall ghc-repline-devel on Fedora 36

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

sudo dnf remove ghc-repline-devel

ghc-repline-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/repline-0.4.0.0.conf
/usr/lib64/ghc-8.10.5/repline-0.4.0.0
/usr/lib64/ghc-8.10.5/repline-0.4.0.0/System
/usr/lib64/ghc-8.10.5/repline-0.4.0.0/System/Console
/usr/lib64/ghc-8.10.5/repline-0.4.0.0/System/Console/Repline.dyn_hi
/usr/lib64/ghc-8.10.5/repline-0.4.0.0/System/Console/Repline.hi
/usr/lib64/ghc-8.10.5/repline-0.4.0.0/libHSrepline-0.4.0.0-KFIMb37KT4JF8sbXX0sefZ.a
/usr/share/doc/ghc-repline-devel
/usr/share/doc/ghc-repline-devel/ChangeLog.md
/usr/share/doc/ghc-repline-devel/README.md
/usr/share/doc/ghc-repline-devel/examples
/usr/share/doc/ghc-repline-devel/examples/Multiline.hs
/usr/share/doc/ghc-repline-devel/examples/Prefix.hs
/usr/share/doc/ghc-repline-devel/examples/Simple.hs
/usr/share/doc/ghc-repline-devel/examples/Stateful.hs

References

Summary

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