yq

Portable command-line YAML processor

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10
RHEL 9
RHEL 8 3.4.1
RHEL 7 3.4.1
RHEL 6 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.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install yq
CentOS/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 yq
CentOS/RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install yq