How To Install json-glib on Rocky Linux 8

In this tutorial we learn how to install json-glib on Rocky Linux 8. json-glib is Library for JavaScript Object Notation format

Introduction

In this tutorial we learn how to install json-glib on Rocky Linux 8.

What is json-glib

json-glib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format.

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

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

sudo dnf -y install json-glib

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

sudo yum -y install json-glib

How To Uninstall json-glib on Rocky Linux 8

To uninstall only the json-glib package we can use the following command:

sudo dnf remove json-glib

json-glib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/89bc5faf85a9a67927dae16de7e69ca4b5fcb8
/usr/lib/girepository-1.0/Json-1.0.typelib
/usr/lib/libjson-glib-1.0.so.0
/usr/lib/libjson-glib-1.0.so.0.400.4
/usr/share/doc/json-glib
/usr/share/doc/json-glib/NEWS
/usr/share/licenses/json-glib
/usr/share/licenses/json-glib/COPYING
/usr/share/locale/as/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/da/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/de/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/el/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/es/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/et/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/he/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/id/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/it/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ne/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/nl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/or/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/te/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/344b7d12c79ef8f78d85b9d216d5216fcbff81
/usr/lib64/girepository-1.0/Json-1.0.typelib
/usr/lib64/libjson-glib-1.0.so.0
/usr/lib64/libjson-glib-1.0.so.0.400.4
/usr/share/doc/json-glib
/usr/share/doc/json-glib/NEWS
/usr/share/licenses/json-glib
/usr/share/licenses/json-glib/COPYING
/usr/share/locale/as/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/da/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/de/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/el/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/es/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/et/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/he/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/id/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/it/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ne/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/nl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/or/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/te/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo
/usr/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo

References

Summary

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