How To Install gjs on Rocky Linux 8
Introduction
In this tutorial we learn how to install gjs on Rocky Linux 8.
What is gjs
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 or dnf to install gjs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gjs.
Install gjs on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gjs using dnf by running the following command:
sudo dnf -y install gjs
Install gjs on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gjs using yum by running the following command:
sudo yum -y install gjs
How To Uninstall gjs on Rocky Linux 8
To uninstall only the gjs package we can use the following command:
sudo dnf remove gjs
gjs Package Contents on Rocky Linux 8
/usr/bin/gjs
/usr/bin/gjs-console
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/777075e3d3aced61ceb059c838b93e8969d46a
/usr/lib/.build-id/62
/usr/lib/.build-id/62/70fc9d77be73e88fddcf4dc5d19f02b2fac4d2
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/8f83f9511ee4a409e5c831ddccaac061c9b1f2
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/ddc2298e480c247c60953b698f8ac1c86cb01d
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/98e636ae2372dc998d3dfaf290fea5bc26c276
/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
/usr/share/doc/gjs/NEWS
/usr/share/doc/gjs/README
/usr/share/licenses/gjs
/usr/share/licenses/gjs/COPYING
/usr/bin/gjs
/usr/bin/gjs-console
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/c9ee10ee6dfb52012e9ec6bce0d0b56087a72e
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/b508353e709153d76e14e4be9c6d3be11c97d7
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/585d8be378558c2e9d67270d7a6edcc7a53a95
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/b9ce232c12a642c4bc2657dae9e9599b4c9eaf
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/7f0b06042eceaac1efac539508e1c4ad300c7d
/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
/usr/share/doc/gjs/NEWS
/usr/share/doc/gjs/README
/usr/share/licenses/gjs
/usr/share/licenses/gjs/COPYING
References
Summary
In this tutorial we learn how to install gjs on Rocky Linux 8 using yum and dnf.