How To Install ghc-with-location on Fedora 36

In this tutorial we learn how to install ghc-with-location in Fedora 36. ghc-with-location is Use ImplicitParams-based source locations in a backward compatible way

Introduction

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

What is ghc-with-location

Use ImplicitParams-based source locations in a backward compatible way.

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

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

sudo dnf -y install ghc-with-location

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

sudo yum -y install ghc-with-location

How To Uninstall ghc-with-location on Fedora 36

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

sudo dnf remove ghc-with-location

ghc-with-location Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/d884a0277ca3cd49a60e5adba0fb04885e5b60
/usr/lib64/libHSwith-location-0.1.0-L4dWszwxDX51kmCFIxtqiN-ghc8.10.5.so
/usr/share/licenses/ghc-with-location
/usr/share/licenses/ghc-with-location/LICENSE

References

Summary

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