How To Install gjs-devel on CentOS 8
Introduction
In this tutorial we learn how to install gjs-devel
on CentOS 8.
What is gjs-devel
Files for development with gjs. gjs-devel 1.56.2 5.el8 x86_64 44 k gjs-1.56.2-5.el8.src.rpm powertools Development package for gjs https MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) Files for development with gjs.
We can use yum
or dnf
to install gjs-devel
on CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the gjs-devel
package we can use the following command:
sudo dnf remove gjs-devel
gjs-devel Package Contents on CentOS 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
- [gjs-devel website](https://wiki.gnome.org/Projects/Gjs https://wiki.gnome.org/Projects/Gjs)
Summary
In this tutorial we learn how to install gjs-devel
on CentOS 8 using yum and dnf.