How To Install gjs.i686 on Amazon Linux 2

In this tutorial we learn how to install gjs.i686 in Amazon Linux 2. gjs.i686 is Javascript Bindings for GNOME

Introduction

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

What is gjs.i686

Gjs allows using GNOME libraries from Javascript. It’s based on the Spidermonkey Javascript engine from Mozilla and the GObject introspection framework.

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

Install gjs.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 gjs.i686 using yum by running the following command:

sudo yum -y install gjs.i686

How To Uninstall gjs.i686 on Amazon Linux 2

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

sudo yum remove gjs.i686

gjs.i686 Package Contents on Amazon Linux 2

/usr/bin/gjs
/usr/bin/gjs-console
/usr/lib/gjs
/usr/lib/gjs/girepository-1.0
/usr/lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib
/usr/lib/gjs/libgimarshallingtests.so
/usr/lib/gjs/libregress.so
/usr/lib/gjs/libwarnlib.so
/usr/lib/libgjs.so.0
/usr/lib/libgjs.so.0.0.0
/usr/share/doc/gjs-1.52.5
/usr/share/doc/gjs-1.52.5/NEWS
/usr/share/doc/gjs-1.52.5/README
/usr/share/licenses/gjs-1.52.5
/usr/share/licenses/gjs-1.52.5/COPYING

References

Summary

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