How To Install ghc-lucid on Fedora 36

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

Introduction

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

What is ghc-lucid

This package provides the Haskell lucid library.

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

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

sudo dnf -y install ghc-lucid

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

sudo yum -y install ghc-lucid

How To Uninstall ghc-lucid on Fedora 36

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

sudo dnf remove ghc-lucid

ghc-lucid Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/561b557160e965c8779b4441cca20538e15590
/usr/lib64/libHSlucid-2.9.12.1-DOd4vkWMj4gCvK71LIDYWO-ghc8.10.5.so
/usr/share/licenses/ghc-lucid
/usr/share/licenses/ghc-lucid/LICENSE

References

Summary

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