Upgrading jq to 1.5 on Ubuntu

前端 未结 3 1460
谎友^
谎友^ 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)
    

提交回复
热议问题