How To Install ghc-language-ecmascript on Fedora 36

In this tutorial we learn how to install ghc-language-ecmascript in Fedora 36. ghc-language-ecmascript is JavaScript parser and pretty-printer library

Introduction

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

What is ghc-language-ecmascript

Tools for working with ECMAScript 3 (popularly known as JavaScript). Includes a parser, pretty-printer, tools for working with source tree annotations and an arbitrary instance.

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

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

sudo dnf -y install ghc-language-ecmascript

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

sudo yum -y install ghc-language-ecmascript

How To Uninstall ghc-language-ecmascript on Fedora 36

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

sudo dnf remove ghc-language-ecmascript

ghc-language-ecmascript Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/1224948d56fc80f3f8af75ce61dccac7f9b7ed
/usr/lib64/libHSlanguage-ecmascript-0.19.1.0-AVozIOwAMarE8CDBaFy65W-ghc8.10.5.so
/usr/share/licenses/ghc-language-ecmascript
/usr/share/licenses/ghc-language-ecmascript/LICENSE

References

Summary

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