How To Install json-glib-devel on CentOS 8
Introduction
In this tutorial we learn how to install json-glib-devel
on CentOS 8.
What is json-glib-devel
The json-glib-devel package contains libraries and header files for developing applications that use json-glib. json-glib-devel 1.4.4 1.el8 x86_64 108 k json-glib-1.4.4-1.el8.src.rpm appstream Development files for json-glib https LGPLv2+ The json-glib-devel package contains libraries and header files for developing applications that use json-glib.
We can use yum
or dnf
to install json-glib-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install json-glib-devel.
Install json-glib-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 json-glib-devel
using dnf
by running the following command:
sudo dnf -y install json-glib-devel
Install json-glib-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 json-glib-devel
using yum
by running the following command:
sudo yum -y install json-glib-devel
How To Uninstall json-glib-devel on CentOS 8
To uninstall only the json-glib-devel
package we can use the following command:
sudo dnf remove json-glib-devel
json-glib-devel Package Contents on CentOS 8
/usr/bin/json-glib-format
/usr/bin/json-glib-validate
/usr/include/json-glib-1.0
/usr/include/json-glib-1.0/json-glib
/usr/include/json-glib-1.0/json-glib/json-builder.h
/usr/include/json-glib-1.0/json-glib/json-enum-types.h
/usr/include/json-glib-1.0/json-glib/json-generator.h
/usr/include/json-glib-1.0/json-glib/json-glib.h
/usr/include/json-glib-1.0/json-glib/json-gobject.h
/usr/include/json-glib-1.0/json-glib/json-gvariant.h
/usr/include/json-glib-1.0/json-glib/json-parser.h
/usr/include/json-glib-1.0/json-glib/json-path.h
/usr/include/json-glib-1.0/json-glib/json-reader.h
/usr/include/json-glib-1.0/json-glib/json-types.h
/usr/include/json-glib-1.0/json-glib/json-utils.h
/usr/include/json-glib-1.0/json-glib/json-version-macros.h
/usr/include/json-glib-1.0/json-glib/json-version.h
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/1f99c298fc26bf08bd954502afa968ebc776a0
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/a177ffe7ea453798d95da2d24a79607a84f910
/usr/lib/libjson-glib-1.0.so
/usr/lib/pkgconfig/json-glib-1.0.pc
/usr/share/gir-1.0/Json-1.0.gir
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/json-glib
/usr/share/gtk-doc/html/json-glib/JsonBuilder.html
/usr/share/gtk-doc/html/json-glib/JsonGenerator.html
/usr/share/gtk-doc/html/json-glib/JsonParser.html
/usr/share/gtk-doc/html/json-glib/JsonPath.html
/usr/share/gtk-doc/html/json-glib/JsonReader.html
/usr/share/gtk-doc/html/json-glib/annotation-glossary.html
/usr/share/gtk-doc/html/json-glib/ch01.html
/usr/share/gtk-doc/html/json-glib/ch02.html
/usr/share/gtk-doc/html/json-glib/ch03.html
/usr/share/gtk-doc/html/json-glib/ch04.html
/usr/share/gtk-doc/html/json-glib/ch06.html
/usr/share/gtk-doc/html/json-glib/home.png
/usr/share/gtk-doc/html/json-glib/index.html
/usr/share/gtk-doc/html/json-glib/ix01.html
/usr/share/gtk-doc/html/json-glib/json-advanced.html
/usr/share/gtk-doc/html/json-glib/json-base.html
/usr/share/gtk-doc/html/json-glib/json-format-tool.html
/usr/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html
/usr/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html
/usr/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html
/usr/share/gtk-doc/html/json-glib/json-glib-Utility-API.html
/usr/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html
/usr/share/gtk-doc/html/json-glib/json-glib.devhelp2
/usr/share/gtk-doc/html/json-glib/json-overview.html
/usr/share/gtk-doc/html/json-glib/json-streams.html
/usr/share/gtk-doc/html/json-glib/json-tools.html
/usr/share/gtk-doc/html/json-glib/json-validate-tool.html
/usr/share/gtk-doc/html/json-glib/left-insensitive.png
/usr/share/gtk-doc/html/json-glib/left.png
/usr/share/gtk-doc/html/json-glib/license.html
/usr/share/gtk-doc/html/json-glib/right-insensitive.png
/usr/share/gtk-doc/html/json-glib/right.png
/usr/share/gtk-doc/html/json-glib/style.css
/usr/share/gtk-doc/html/json-glib/tools.html
/usr/share/gtk-doc/html/json-glib/up-insensitive.png
/usr/share/gtk-doc/html/json-glib/up.png
/usr/share/man/man1/json-glib-format.1.gz
/usr/share/man/man1/json-glib-validate.1.gz
/usr/bin/json-glib-format
/usr/bin/json-glib-validate
/usr/include/json-glib-1.0
/usr/include/json-glib-1.0/json-glib
/usr/include/json-glib-1.0/json-glib/json-builder.h
/usr/include/json-glib-1.0/json-glib/json-enum-types.h
/usr/include/json-glib-1.0/json-glib/json-generator.h
/usr/include/json-glib-1.0/json-glib/json-glib.h
/usr/include/json-glib-1.0/json-glib/json-gobject.h
/usr/include/json-glib-1.0/json-glib/json-gvariant.h
/usr/include/json-glib-1.0/json-glib/json-parser.h
/usr/include/json-glib-1.0/json-glib/json-path.h
/usr/include/json-glib-1.0/json-glib/json-reader.h
/usr/include/json-glib-1.0/json-glib/json-types.h
/usr/include/json-glib-1.0/json-glib/json-utils.h
/usr/include/json-glib-1.0/json-glib/json-version-macros.h
/usr/include/json-glib-1.0/json-glib/json-version.h
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/f0622e8f989970fbb6b5d3b5c782558d1380d7
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/958a2cbc2ee0e22ca592efc00e361899ee239d
/usr/lib64/libjson-glib-1.0.so
/usr/lib64/pkgconfig/json-glib-1.0.pc
/usr/share/gir-1.0/Json-1.0.gir
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/json-glib
/usr/share/gtk-doc/html/json-glib/JsonBuilder.html
/usr/share/gtk-doc/html/json-glib/JsonGenerator.html
/usr/share/gtk-doc/html/json-glib/JsonParser.html
/usr/share/gtk-doc/html/json-glib/JsonPath.html
/usr/share/gtk-doc/html/json-glib/JsonReader.html
/usr/share/gtk-doc/html/json-glib/annotation-glossary.html
/usr/share/gtk-doc/html/json-glib/ch01.html
/usr/share/gtk-doc/html/json-glib/ch02.html
/usr/share/gtk-doc/html/json-glib/ch03.html
/usr/share/gtk-doc/html/json-glib/ch04.html
/usr/share/gtk-doc/html/json-glib/ch06.html
/usr/share/gtk-doc/html/json-glib/home.png
/usr/share/gtk-doc/html/json-glib/index.html
/usr/share/gtk-doc/html/json-glib/ix01.html
/usr/share/gtk-doc/html/json-glib/json-advanced.html
/usr/share/gtk-doc/html/json-glib/json-base.html
/usr/share/gtk-doc/html/json-glib/json-format-tool.html
/usr/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html
/usr/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html
/usr/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html
/usr/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html
/usr/share/gtk-doc/html/json-glib/json-glib-Utility-API.html
/usr/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html
/usr/share/gtk-doc/html/json-glib/json-glib.devhelp2
/usr/share/gtk-doc/html/json-glib/json-overview.html
/usr/share/gtk-doc/html/json-glib/json-streams.html
/usr/share/gtk-doc/html/json-glib/json-tools.html
/usr/share/gtk-doc/html/json-glib/json-validate-tool.html
/usr/share/gtk-doc/html/json-glib/left-insensitive.png
/usr/share/gtk-doc/html/json-glib/left.png
/usr/share/gtk-doc/html/json-glib/license.html
/usr/share/gtk-doc/html/json-glib/right-insensitive.png
/usr/share/gtk-doc/html/json-glib/right.png
/usr/share/gtk-doc/html/json-glib/style.css
/usr/share/gtk-doc/html/json-glib/tools.html
/usr/share/gtk-doc/html/json-glib/up-insensitive.png
/usr/share/gtk-doc/html/json-glib/up.png
/usr/share/man/man1/json-glib-format.1.gz
/usr/share/man/man1/json-glib-validate.1.gz
References
- [json-glib-devel website](https://wiki.gnome.org/Projects/JsonGlib https://wiki.gnome.org/Projects/JsonGlib)
Summary
In this tutorial we learn how to install json-glib-devel
on CentOS 8 using yum and dnf.