在Ubuntu上将jq升级到1.5 [英] Upgrading jq to 1.5 on Ubuntu

查看:156
本文介绍了在Ubuntu上将jq升级到1.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此它在此处显示:

jq 1.5在官方的Debian和Ubuntu存储库中.使用sudo apt-get install jq进行安装.

jq 1.5 is in the official Debian and Ubuntu repositories. Install using sudo apt-get install jq.

还:

$ sudo apt-get install jq
Reading package lists... Done
Building dependency tree       
Reading state information... Done
jq is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

AND:

$ jq --version
jq version 1.3

Description:    Ubuntu 14.04 LTS
Release:    14.04
Codename:   trusty

我想念什么?

谢谢

推荐答案

在搜寻为什么我的Debian 8实例未将jq 1.4升级到1.5时,我到这里结束了.

I ended up here when googling on why my Debian 8 instance does not upgrade jq 1.4 to 1.5.

这是我为Debian 8 jq苦苦挣扎的人的解决方案:从 https://github下载jq. com/stedolan/jq/releases 并将其手动复制到当前安装的jq上.就我而言:

Here's my solution for anyone struggling with Debian 8 jq: Download jq from https://github.com/stedolan/jq/releases and copy it manually over the currently installed jq. In my case:

wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
chmod +x jq-linux64
sudo mv jq-linux64 $(which jq)

这篇关于在Ubuntu上将jq升级到1.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆