How to install jq on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Command-line JSON processor
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 7 | Base | 1.5 |
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.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
jq on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install jq
Package downloads require an active GetPageSpeed subscription — one repository for jq and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install jq on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the jq package with your system package manager.
Which Enterprise Linux versions is jq available for?
jq is available for RHEL 7.