How to install jq on amazon EC2 instance
jq is available in the yum repo so run the following
sudo yum install jq
will install jq on the instance
Tried yum install jq on RHEL but did not work as this package is not there..However following commands made the JQ available on my RHEL machine on AWS...
wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod +x ./jq
cp jq /usr/bin