]> Cypherpunks.ru repositories - gocheese.git/blob - doc/install.texi
163e31e64415b4688d49bbef5b6b4000dc113940
[gocheese.git] / doc / install.texi
1 @node Install
2 @unnumbered Install
3
4 Possibly @command{gocheese} package already exists for your distribution:
5 @itemize
6 @item @url{https://www.freshports.org/devel/gocheese/, FreeBSD ports}
7 @end itemize
8
9 Preferable way is to download tarball with the signature from
10 website and, for example, run tests with benchmarks:
11
12 @example
13 $ [fetch|wget] http://www.gocheese.cypherpunks.ru/download/gocheese-@value{VERSION}.tar.zst
14 $ [fetch|wget] http://www.gocheese.cypherpunks.ru/download/gocheese-@value{VERSION}.tar.zst.sig
15 $ gpg --verify gocheese-@value{VERSION}.tar.zst.sig gocheese-@value{VERSION}.tar.zst
16 $ zstd -d < gocheese-@value{VERSION}.tar.zst | tar xf -
17 $ cd gocheese-@value{VERSION}
18 $ redo test all # or go build -mod=vendor
19 @end example
20
21 It uses @url{http://cr.yp.to/redo.html, redo} build system for that
22 examples. You can use either dozen of various implementations, or at
23 least minimalistic POSIX shell @command{contrib/do} (just replace
24 @command{redo} with @command{contrib/do} in the example above) included
25 in tarball.
26
27 @include download.texi
28
29 You @strong{have to} verify downloaded tarballs integrity and
30 authenticity to be sure that you retrieved trusted and untampered
31 software. @url{https://www.gnupg.org/, GNU Privacy Guard} is used
32 for that purpose.
33
34 For the very first time it is necessary to get signing public key and
35 import it. It is provided below, but you should check alternative
36 resources.
37
38 @verbatim
39 pub   rsa2048/0xCD5CD01F55343D88 2019-12-08 [SC]
40       9B27 640B A784 37EC 6D4A  CA6C CD5C D01F 5534 3D88
41 uid   GoCheese releases <gocheese@cypherpunks.ru>
42 @end verbatim
43
44 @itemize
45
46 @item
47 @example
48 $ gpg --auto-key-locate dane --locate-keys gocheese at cypherpunks dot ru
49 $ gpg --auto-key-locate  wkd --locate-keys gocheese at cypherpunks dot ru
50 @end example
51
52 @item
53 @verbatiminclude ../PUBKEY.asc
54
55 @end itemize
56
57 You can obtain development source code with
58 @command{git clone git://git.cypherpunks.ru/gocheese.git}
59 (also you can use @url{https://git.cypherpunks.ru/gocheese.git}).