How To Install gawk-json on Fedora 36

In this tutorial we learn how to install gawk-json in Fedora 36. gawk-json is JSON encoder/decoder for gawk

Introduction

In this tutorial we learn how to install gawk-json on Fedora 36.

What is gawk-json

The gawk-json module provides a gawk extension library that uses RapidJSON to implement functions mapping between gawk associative arrays and JSON.

We can use yum or dnf to install gawk-json on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gawk-json.

Install gawk-json on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gawk-json using dnf by running the following command:

sudo dnf -y install gawk-json

Install gawk-json on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gawk-json using yum by running the following command:

sudo yum -y install gawk-json

How To Uninstall gawk-json on Fedora 36

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

sudo dnf remove gawk-json

gawk-json Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e94857e7db6b52f1ceb65f98d875fceec3abe5
/usr/lib64/gawk/json.so
/usr/share/doc/gawk-json
/usr/share/doc/gawk-json/NEWS
/usr/share/doc/gawk-json/json.awk
/usr/share/licenses/gawk-json
/usr/share/licenses/gawk-json/COPYING
/usr/share/man/man3/json.3am.gz

References

Summary

In this tutorial we learn how to install gawk-json on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).