Install jq JSON processor on Ubuntu 10.04

后端 未结 5 1848
抹茶落季
抹茶落季 2021-02-06 21:24

Is there a way to install jq JSON processor on Ubuntu 10.04?

I Tried the usual sudo apt-get install jq but got the error E: Couldn\'t find package jq<

相关标签:
5条回答
  • 2021-02-06 21:56

    It is possible to perform sudo apt-get install jq however you need to inform the system where to find jq.

    ℹ️ Note: Ubuntu 14+ users can skip to step 4!

    0 讨论(0)
  • 2021-02-06 22:01

    Download & build from source as described in https://stedolan.github.io/jq/download/, last section called "From source on Linux, OS X, Cygwin, and other POSIX-like operating systems".

    0 讨论(0)
  • 2021-02-06 22:09

    Since Ubuntu 16.04LTS xenial you do not need to modify /etc/apt/sources.list, just run

    sudo apt-get install jq
    

    jq 1.5 is in the official Debian and Ubuntu repositories.

    0 讨论(0)
  • 2021-02-06 22:09

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

    0 讨论(0)
  • 2021-02-06 22:13

    (Updated)

    I visited this page for Linux based jq installation and I tried below on Oracle Linux Server 7.3 which worked me:

    sudo yum install jq
    
    0 讨论(0)
提交回复
热议问题