How To Install ghc-sourcemap on Fedora 36

In this tutorial we learn how to install ghc-sourcemap in Fedora 36. ghc-sourcemap is Implementation of source maps as proposed by Google and Mozilla

Introduction

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

What is ghc-sourcemap

Implementation of source maps, revision 3, proposed by Google and Mozilla see <https

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

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

sudo dnf -y install ghc-sourcemap

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

sudo yum -y install ghc-sourcemap

How To Uninstall ghc-sourcemap on Fedora 36

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

sudo dnf remove ghc-sourcemap

ghc-sourcemap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/6be34412d473c9f18a0f88b1ef886f3a1ac8e8
/usr/lib64/libHSsourcemap-0.1.6.1-4t47FqkVOxSAXYZODn1Fde-ghc8.10.5.so
/usr/share/licenses/ghc-sourcemap
/usr/share/licenses/ghc-sourcemap/LICENSE

References

Summary

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