简体   繁体   中英

How to install jq on amazon EC2 instance

我正在尝试在亚马逊实例上安装 jq JSON 解析器,不幸的是,我无法安装它,有人可以指导我。

jq is available in the yum repo so run the following

sudo yum install jq

will install jq on the instance

Tried yum install jq on RHEL but did not work as this package is not there..However following commands made the JQ available on my RHEL machine on AWS...

wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod +x ./jq
cp jq /usr/bin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM