How To Install js.i686 on Amazon Linux 2

In this tutorial we learn how to install js.i686 in Amazon Linux 2. js.i686 is JavaScript interpreter and libraries

Introduction

In this tutorial we learn how to install js.i686 on Amazon Linux 2.

What is js.i686

JavaScript is the Netscape-developed object scripting language used in millions of web pages and server applications worldwide. Netscape’s JavaScript is a superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, with only mild differences from the published standard.

We can use yum to install js.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install js.i686.

Install js.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install js.i686 using yum by running the following command:

sudo yum -y install js.i686

How To Uninstall js.i686 on Amazon Linux 2

To uninstall only the js.i686 package we can use the following command:

sudo yum remove js.i686

js.i686 Package Contents on Amazon Linux 2

/usr/bin/js
/usr/lib/libjs.so.1
/usr/lib/libmozjs.so.1
/usr/lib/libmozjs185.so.1.0
/usr/lib/libmozjs185.so.1.0.0
/usr/share/doc/js-1.8.5
/usr/share/doc/js-1.8.5/README.html

References

Summary

In this tutorial we learn how to install js.i686 on Amazon Linux 2 using yum.