How to Install and Uninstall yq Package on openSUSE Leap

Last updated: November 26,2024

1. Install "yq" package

Learn how to install yq on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install yq

2. Uninstall "yq" package

This tutorial shows how to uninstall yq on openSUSE Leap:

$ sudo zypper remove yq

3. Information about the yq package on openSUSE Leap

Information for package yq:
---------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : yq
Version : 4.35.2-150500.3.3.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 9.2 MiB
Installed : No
Status : not installed
Source package : yq-4.35.2-150500.3.3.1.src
Upstream URL : https://github.com/mikefarah/yq
Summary : A portable command-line YAML processor
Description :
A lightweight and portable command-line YAML processor. yq uses jq like syntax
but works with yaml files as well as json. It doesn't yet support everything
jq does - but it does support the most common operations and functions, and more
is being added continuously.