< Home - < Back

jq


Information about the package, jq, which is shipped with common Linux distributions. The jq package is designed for, Command-line JSON processor.


Package Name:

jq

Summary:

Command-line JSON processor

Description:

lightweight and flexible command-line JSON processor jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. It is written in portable C, and it has zero runtime dependencies. jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you'd expect.

Architecture:

x86_64

Version:

1.3

Release:

2.el6

Size:

94 k

Repository:

epel

From Repository:

Licence:

MIT and ASL 2.0 and CC-BY and GPLv3



Handy Yum Commands for jq


Control the jq package with the following handy commands outlined below.


Command

Description of Command

yum install jq

This command will install jq on the server.

yum remove jq

This command will un-install jq on the server. When you run this command, you will be asked if you are sure that you want to remove jq, so you have to manually confirm that you want to do this.

yum -y remove jq

This command will un-install jq on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove jq when using the -y flag.

yum update jq

This command will update jq to the latest version. When you run this command, you will be asked if you are sure that you want to remove jq, so you have to manually confirm that you want to do this.

yum -y update jq

This command will update jq to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove jq when using the -y flag.

yum info jq

This command will show you core information about the jq package.

yum deplist jq

This command will show you the dependencies for jq. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update jq

This command will check if there is an update waiting on jq. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.