"Fossies" - the Fresh Open Source Software Archive 
Member "jq-1.6/docs/content/2.download/default.yml" (2 Nov 2018, 8191 Bytes) of package /linux/misc/jq-1.6.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "default.yml":
1.5_vs_1.6.
1 headline: Download jq
2 body:
3
4 - text: |
5
6 jq is written in C and has no runtime dependencies, so it should be
7 possible to build it for nearly any platform. Prebuilt binaries are
8 available for Linux, OS X and Windows.
9
10 The binaries should just run, but on OS X and Linux you may need
11 to make them executable first using `chmod +x jq`.
12
13 jq is licensed under the MIT license. For all of the gory
14 details, read the file `COPYING` in the source distribution.
15
16
17 ### Linux
18
19 * jq 1.5 is in the official [Debian](https://packages.debian.org/jq) and
20 [Ubuntu](http://packages.ubuntu.com/jq) repositories. Install using
21 `sudo apt-get install jq`.
22
23 * jq 1.5 is in the official
24 [Fedora](http://pkgs.fedoraproject.org/cgit/jq.git/) repository.
25 Install using `sudo dnf install jq`.
26
27 * jq 1.4 is in the official [openSUSE](https://software.opensuse.org/package/jq)
28 repository. Install using `sudo zypper install jq`.
29
30 * jq 1.5 is in the official
31 [Arch](https://www.archlinux.org/packages/?sort=&q=jq&maintainer=&flagged=)
32 repository. Install using `sudo pacman -Sy jq`.
33
34 * jq 1.6 binaries for
35 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64)
36 or
37 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux32).
38
39 * jq 1.5 binaries for
40 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64)
41 or
42 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux32).
43
44 * jq 1.4 binaries for
45 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86_64)
46 or
47 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86).
48
49 * jq 1.3 binaries for
50 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86_64)
51 or
52 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86).
53
54 ### OS X
55
56 * Use [Homebrew](http://brew.sh/) to install jq 1.5 with
57 `brew install jq`.
58
59 * jq 1.6 binary for
60 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64).
61
62 * jq 1.5 binary for
63 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64).
64
65 * jq 1.4 binaries for
66 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86_64)
67 or
68 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86).
69
70 * jq 1.3 binaries for
71 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86_64)
72 or
73 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86).
74
75 ### FreeBSD
76
77 * `pkg install jq` as root installs a pre-built
78 [binary package](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html).
79
80 * `make -C /usr/ports/textproc/jq install clean` as root installs the
81 [jq](https://www.freshports.org/textproc/jq/)
82 [port](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html)
83 from source.
84
85 ### Solaris
86
87 * `pkgutil -i jq` in [OpenCSW](https://www.opencsw.org/p/jq) for Solaris
88 10+, Sparc and x86.
89
90 * jq 1.4 binaries for Solaris 11
91 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-64)
92 or
93 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-32).
94
95 ### Windows
96
97 * Use [Chocolatey NuGet](https://chocolatey.org/) to install jq 1.5 with
98 `chocolatey install jq`.
99
100 * jq 1.6 executables for
101 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe)
102 or
103 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win32.exe).
104
105 * jq 1.5 executables for
106 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win64.exe)
107 or
108 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win32.exe).
109
110 * jq 1.4 executables for
111 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win64.exe)
112 or
113 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win32.exe).
114
115 * jq 1.3 executables for
116 [64-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win64.exe)
117 or
118 [32-bit](https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win32.exe).
119
120 ### Checksums and signatures
121
122 SHA-256 checksums are provided for all release and pre-release binaries.
123 They can be found under
124 [sig/v1.x/sha256sum.txt](https://github.com/stedolan/jq/tree/master/sig).
125 The checksums for jq 1.6 are in
126 [sig/v1.6/sha256sum.txt](https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.6/sha256sum.txt).
127 The checksums for jq 1.5 are in
128 [sig/v1.5/sha256sum.txt](https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.5/sha256sum.txt).
129
130 Additionally, all binaries are signed by the
131 [jq Package Signing Key](https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key).
132 The signatures can be found under
133 [sig/v1.x/\*.asc](https://github.com/stedolan/jq/tree/master/sig).
134 The signatures for jq 1.6 are in
135 [sig/v1.5/\*.asc](https://github.com/stedolan/jq/tree/master/sig/v1.6).
136 The signatures for jq 1.5 are in
137 [sig/v1.5/\*.asc](https://github.com/stedolan/jq/tree/master/sig/v1.5).
138 You can use [GnuPG](https://gnupg.org/) to verify a signature by downloading
139 the signature and running `gpg --verify signature.asc`.
140
141 ### From source on Linux, OS X, Cygwin, and other POSIX-like operating systems
142
143 * [Source tarball for jq 1.6](https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz)
144 * [Source tarball for jq 1.5](https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz)
145
146 You can build it using the usual `./configure && make && sudo
147 make install` rigmarole.
148
149 If you're interested in using the lastest development version, try:
150
151 git clone https://github.com/stedolan/jq.git
152 cd jq
153 autoreconf -i
154 ./configure --disable-maintainer-mode
155 make
156 sudo make install
157
158 To build it from a git clone, you'll need to install a few
159 packages first:
160
161 * [GCC](https://gcc.gnu.org)
162 * [Make](https://www.gnu.org/software/make/)
163 * [Autotools](https://www.gnu.org/software/automake/)
164
165 For Linux systems, these will all be in your system's package
166 manager, and if you do development on the machine they're most
167 likely already installed.
168
169 On OS X, these are all included in Apple's command line tools, which can
170 be installed from [Xcode](https://developer.apple.com/xcode/). However,
171 you may find that you need a newer version of Bison than the one provided
172 by Apple. This can be found in [Homebrew](http://brew.sh) or
173 [MacPorts](https://macports.org/).
174
175 The `--disable-maintainer-mode` flag says to use the pre-generated lexer
176 and parser that come with the code. To compile the lexer and parser also
177 from source, leave out this flag. You will need to install
178 [Flex](http://flex.sourceforge.net/) and
179 [Bison](https://www.gnu.org/software/bison/).
180
181 #### Building the documentation
182
183 jq's documentation is compiled into static HTML using
184 [Bonsai](http://www.tinytree.info). To view the documentation
185 locally, run `rake serve` (or `bundle exec rake serve`) from the
186 docs/ subdirectory. To build the docs just `rake build` from the
187 docs subdirectory. You'll need a few Ruby dependencies, which can
188 be installed by following the instructions in `docs/README.md`.
189
190 The man page is built by `make jq.1`, or just `make`, also from
191 the YAML docs, and you'll still need the Ruby dependencies to
192 build the manpage.
193