How To Install erlang-js on Fedora 36

In this tutorial we learn how to install erlang-js in Fedora 36. erlang-js is A Friendly Erlang to Javascript Binding

Introduction

In this tutorial we learn how to install erlang-js on Fedora 36.

What is erlang-js

A Friendly Erlang to Javascript Binding.

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

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

sudo dnf -y install erlang-js

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

sudo yum -y install erlang-js

How To Uninstall erlang-js on Fedora 36

To uninstall only the erlang-js package we can use the following command:

sudo dnf remove erlang-js

erlang-js Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/a5ed4f0b3a3bafb80cd98ddef71806688d13d2
/usr/lib64/erlang/lib/mozjs-1.9.2
/usr/lib64/erlang/lib/mozjs-1.9.2/ebin
/usr/lib64/erlang/lib/mozjs-1.9.2/ebin/js.beam
/usr/lib64/erlang/lib/mozjs-1.9.2/ebin/js_driver.beam
/usr/lib64/erlang/lib/mozjs-1.9.2/ebin/mozjs.app
/usr/lib64/erlang/lib/mozjs-1.9.2/ebin/mozjs_nif.beam
/usr/lib64/erlang/lib/mozjs-1.9.2/priv
/usr/lib64/erlang/lib/mozjs-1.9.2/priv/json2.js
/usr/lib64/erlang/lib/mozjs-1.9.2/priv/mozjs_nif.so
/usr/share/doc/erlang-js
/usr/share/doc/erlang-js/README.org
/usr/share/licenses/erlang-js
/usr/share/licenses/erlang-js/LICENSE

References

Summary

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