How To Install gjs.x86_64 on Amazon Linux 2

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

Introduction

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

What is gjs.x86_64

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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gjs.x86_64.

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

sudo yum -y install gjs.x86_64

How To Uninstall gjs.x86_64 on Amazon Linux 2

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

sudo yum remove gjs.x86_64

gjs.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gjs
/usr/bin/gjs-console
/usr/lib64/gjs
/usr/lib64/gjs/girepository-1.0
/usr/lib64/gjs/girepository-1.0/GjsPrivate-1.0.typelib
/usr/lib64/gjs/libgimarshallingtests.so
/usr/lib64/gjs/libregress.so
/usr/lib64/gjs/libwarnlib.so
/usr/lib64/libgjs.so.0
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.