How to install yq on Amazon Linux

Portable command-line YAML processor

License: MIT https://mikefarah.gitbook.io/yq/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel x86_64 Version
Amazon Linux 2012.03 Base 3.4.1
Amazon Linux 2 Base 3.4.1

Description

A lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.

Built for Amazon Linux.

Install

Base Amazon Linux 2, 2012.03

yq on Amazon Linux 2, 2012.03

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install yq

yq: Free to install; commercial production use requires a subscription.

Subscribe — from $10/mo

Frequently asked questions

How do I install yq on Amazon Linux?

Add the GetPageSpeed repository, then install the yq package with your system package manager.

Which Amazon Linux versions is yq available for?

yq is available for Amazon Linux 2, 2012.03.

Subscribe