How To Install js-underscore on Fedora 36

In this tutorial we learn how to install js-underscore in Fedora 36. js-underscore is JavaScript’s functional programming helper library

Introduction

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

What is js-underscore

Underscore.js is a utility-belt library for JavaScript that provides support for the usual functional suspects (each, map, reduce, filter…) without extending any core JavaScript objects.

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

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

sudo dnf -y install js-underscore

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

sudo yum -y install js-underscore

How To Uninstall js-underscore on Fedora 36

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

sudo dnf remove js-underscore

js-underscore Package Contents on Fedora 36

/usr/share/doc/js-underscore
/usr/share/doc/js-underscore/LICENSE
/usr/share/doc/js-underscore/README.md
/usr/share/javascript/underscore
/usr/share/javascript/underscore/underscore-min.js
/usr/share/javascript/underscore/underscore-min.js.map
/usr/share/javascript/underscore/underscore.js

References

Summary

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