Download and install the repository configuration directly from the Fedora Project:
sudo subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms Use code with caution. download jq for rhel 7
Navigate to the official jq download page or use wget to grab the 64-bit Linux binary: download jq for rhel 7
Once EPEL is enabled, install the package using yum : sudo yum install jq -y Use code with caution. Method 2: Download the Prebuilt Binary download jq for rhel 7
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Use code with caution.