How To Install json-table on Fedora 36

In this tutorial we learn how to install json-table in Fedora 36. json-table is Command-line tool to transform nested JSON into tabular data

Introduction

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

What is json-table

Jt reads UTF-8 encoded JSON forms from stdin and writes tab separated values (or CSV) to stdout. A simple stack-based programming language is used to extract values from the JSON input for printing.

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

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

sudo dnf -y install json-table

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

sudo yum -y install json-table

How To Uninstall json-table on Fedora 36

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

sudo dnf remove json-table

json-table Package Contents on Fedora 36

/usr/bin/jt
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/8204e59ad549372674c54564ab737ac6ad776e
/usr/share/doc/json-table
/usr/share/doc/json-table/README.md
/usr/share/doc/json-table/jt.1.css
/usr/share/doc/json-table/jt.1.html
/usr/share/doc/json-table/jt.1.ronn
/usr/share/licenses/json-table
/usr/share/licenses/json-table/LICENSE
/usr/share/man/man1/jt.1.gz

References

Summary

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