Upgrading jq to 1.5 on Ubuntu

前端 未结 3 1430
谎友^
谎友^ 2021-01-01 10:47

So it reads here:

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

yet:

$ sudo apt-get instal         


        
相关标签:
3条回答
  • 2021-01-01 11:39

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

    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)
    
    0 讨论(0)
  • 2021-01-01 11:40

    I think you were missing the correct repo: http://installion.co.uk/ubuntu/vivid/universe/j/jq/install/index.html

    0 讨论(0)
  • 2021-01-01 11:47

    You're using Ubuntu LTS. The latest version of Ubuntu does have jq 1.5.

    0 讨论(0)
提交回复
热议问题