How to install jq on RHEL6.5

Solution 1:

As it says on the development page for jq "jq is written in C and has no runtime dependencies". So just download the file and put it in place with the following:

wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod +x ./jq
cp jq /usr/bin

Solution 2:

yum install -y epel-release

yum install -y jq

Solution 3:

jq is in the EPEL repository, which you should already have enabled.

Once you have enabled EPEL, you can just yum install jq like everything else.

Tags:

Rhel6