How To Install ghc-errors on Fedora 36

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

Introduction

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

What is ghc-errors

This package provides the Haskell errors library.

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

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

sudo dnf -y install ghc-errors

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

sudo yum -y install ghc-errors

How To Uninstall ghc-errors on Fedora 36

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

sudo dnf remove ghc-errors

ghc-errors Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/05a300f3e528339d4adcfb5158fd734226a249
/usr/lib64/libHSerrors-2.3.0-L2PYtE6sWhcKjNVUy63IeC-ghc8.10.5.so
/usr/share/licenses/ghc-errors
/usr/share/licenses/ghc-errors/LICENSE

References

Summary

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