Introduction to Gjs

Gjs is a set of Javascript bindings for GNOME.

This package is known to build and work properly using an LFS-8.4 platform.

Package Information

Gjs Dependencies


Cairo-1.16.0, dbus-1.12.12, gobject-introspection-1.58.3, and js60-60.1.0

Recommended (required for GNOME)


Valgrind-3.14.0 (for tests), DTrace, LCOV, and Systemtap

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gjs

Installation of Gjs

Install Gjs by running the following commands:

./configure --prefix=/usr &&

To test the results, issue: make check. The GTK and Cairo tests will fail if not running in an Xorg session. Two tests that use Unicode are known to fail, as C.UTF-8 isn't defined as a locale in our environment.

Now, as the root user:

make install


Installed Programs: gjs (symlink) and gjs-console
Installed Library: libgjs.so
Installed Directories: /usr/include/gjs-1.0, /usr/lib/gjs, and /usr/share/gjs-1.0

Short Descriptions


contains a console to run JavaScript commands.


contains the GNOME JavaScript bindings.

Last updated on 2019-02-20 23:16:01 -0800