How To Install ghc-ghcid on Fedora 36

In this tutorial we learn how to install ghc-ghcid in Fedora 36. ghc-ghcid is Haskell ghcid library

Introduction

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

What is ghc-ghcid

This package provides the Haskell ghcid shared library.

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

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

sudo dnf -y install ghc-ghcid

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

sudo yum -y install ghc-ghcid

How To Uninstall ghc-ghcid on Fedora 36

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

sudo dnf remove ghc-ghcid

ghc-ghcid Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/03f44fecefc79d581b115449d60045d2dc2a0c
/usr/lib64/libHSghcid-0.8.7-IZIaePLQJXp2kVST159p19-ghc8.10.5.so
/usr/share/licenses/ghc-ghcid
/usr/share/licenses/ghc-ghcid/LICENSE

References

Summary

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