Kurzform…
1 2 3 4 5 6 7 |
apt install -y dh-autoreconf ruby wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz tar xzf jq-1.6.tar.gz cd jq-1.6 autoreconf -fi sudo ./configure && sudo make -j 2 && sudo make install |
1 2 3 4 5 6 7 8 9 10 |
root ➜ jq-1.6 jq jq - commandline JSON processor [version 1.6] Usage: jq [options] <jq filter> [file...] jq [options] --args <jq filter> [strings...] jq [options] --jsonargs <jq filter> [JSON_TEXTS...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. |