json 工具jq 安装办法

1、下载epel-release

### 添加epel yum源
$ wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

2、安装此包

$ rpm -ivh epel-release-latest-7.noarch.rpm
warning: epel-release-latest-7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-7-14                ################################# [100%]

3、安装jq

yum install jq

参考文档
https://blog.csdn.net/qq_15138049/article/details/128544410

你可能感兴趣的:(linux,&,shell,jq,json)