How To Install gjs-devel on Rocky Linux 8

In this tutorial we learn how to install gjs-devel on Rocky Linux 8. gjs-devel is Development package for gjs

Introduction

In this tutorial we learn how to install gjs-devel on Rocky Linux 8.

What is gjs-devel

Files for development with gjs.

We can use yum or dnf to install gjs-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gjs-devel.

Install gjs-devel 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-devel using dnf by running the following command:

sudo dnf -y install gjs-devel

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

sudo yum -y install gjs-devel

How To Uninstall gjs-devel on Rocky Linux 8

To uninstall only the gjs-devel package we can use the following command:

sudo dnf remove gjs-devel

gjs-devel Package Contents on Rocky Linux 8

/usr/include/gjs-1.0
/usr/include/gjs-1.0/gjs
/usr/include/gjs-1.0/gjs/context.h
/usr/include/gjs-1.0/gjs/coverage.h
/usr/include/gjs-1.0/gjs/gjs.h
/usr/include/gjs-1.0/gjs/macros.h
/usr/include/gjs-1.0/gjs/mem.h
/usr/include/gjs-1.0/gjs/profiler.h
/usr/include/gjs-1.0/util
/usr/include/gjs-1.0/util/error.h
/usr/lib/libgjs.so
/usr/lib/pkgconfig/gjs-1.0.pc
/usr/share/doc/gjs-devel
/usr/share/doc/gjs-devel/clutter.js
/usr/share/doc/gjs-devel/gio-cat.js
/usr/share/doc/gjs-devel/gtk.js
/usr/share/doc/gjs-devel/http-server.js
/usr/share/doc/gjs-devel/test.jpg
/usr/share/gjs-1.0
/usr/share/gjs-1.0/lsan
/usr/share/gjs-1.0/lsan/lsan.supp
/usr/share/gjs-1.0/valgrind
/usr/share/gjs-1.0/valgrind/gjs.supp
/usr/include/gjs-1.0
/usr/include/gjs-1.0/gjs
/usr/include/gjs-1.0/gjs/context.h
/usr/include/gjs-1.0/gjs/coverage.h
/usr/include/gjs-1.0/gjs/gjs.h
/usr/include/gjs-1.0/gjs/macros.h
/usr/include/gjs-1.0/gjs/mem.h
/usr/include/gjs-1.0/gjs/profiler.h
/usr/include/gjs-1.0/util
/usr/include/gjs-1.0/util/error.h
/usr/lib64/libgjs.so
/usr/lib64/pkgconfig/gjs-1.0.pc
/usr/share/doc/gjs-devel
/usr/share/doc/gjs-devel/clutter.js
/usr/share/doc/gjs-devel/gio-cat.js
/usr/share/doc/gjs-devel/gtk.js
/usr/share/doc/gjs-devel/http-server.js
/usr/share/doc/gjs-devel/test.jpg
/usr/share/gjs-1.0
/usr/share/gjs-1.0/lsan
/usr/share/gjs-1.0/lsan/lsan.supp
/usr/share/gjs-1.0/valgrind
/usr/share/gjs-1.0/valgrind/gjs.supp

References

Summary

In this tutorial we learn how to install gjs-devel on Rocky Linux 8 using yum and dnf.