jq, aws, amazon linux 2,

Install jq on Amazon Linux 2

May 17, 2022 · 1 min read · Post a comment

jq one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possible. Let’s see how to install jq on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

Install jq on Amazon Linux 2

Step 1. As usual, update system packages.

sudo yum update

Step 2. Install jq.

sudo yum install jq

Step 3. Verify installation.

jq --version

Output:

jq-1.5

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.