]> Cypherpunks.ru repositories - goredo.git/blob - doc/install.texi
b25603bdaceae644fbc8bb7f85f7596306f7523b
[goredo.git] / doc / install.texi
1 @node Install
2 @unnumbered Install
3
4 Preferable way is to download tarball with the signature from website:
5
6 @example
7 $ [fetch|wget] http://www.goredo.cypherpunks.ru/download/goredo-@value{VERSION}.tar.zst
8 $ [fetch|wget] http://www.goredo.cypherpunks.ru/download/goredo-@value{VERSION}.tar.zst.sig
9 $ gpg --verify goredo-@value{VERSION}.tar.zst.sig goredo-@value{VERSION}.tar.zst
10 $ zstd -d < goredo-@value{VERSION}.tar.zst | tar xf -
11 $ cd goredo-@value{VERSION}
12 $ GOPATH=`pwd` go build go.cypherpunks.ru/goredo
13 $ ./goredo -symlinks        # create redo-* commands symlinks
14 $ export PATH=`pwd`:$PATH   # let your system know about goredo
15 @end example
16
17 @include download.texi
18
19 You @strong{have to} verify downloaded tarballs integrity and
20 authenticity to be sure that you retrieved trusted and untampered
21 software. @url{https://www.gnupg.org/, GNU Privacy Guard} is used
22 for that purpose.
23
24 For the very first time it is necessary to get signing public key and
25 import it. It is provided below, but you should check alternative
26 resources.
27
28 @verbatim
29 pub   ed25519/0x3A528DDE952C7E93 2021-01-09 [SC]
30       7531BB84FAF0BF35960C63B93A528DDE952C7E93
31 uid   goredo releases <goredo@cypherpunks.ru>
32 @end verbatim
33
34 @itemize
35
36 @item
37 @example
38 $ gpg --auto-key-locate dane --locate-keys goredo at cypherpunks dot ru
39 $ gpg --auto-key-locate wkd --locate-keys goredo at cypherpunks dot ru
40 @end example
41
42 @item
43 @verbatiminclude ../PUBKEY.asc
44
45 @end itemize
46
47 It is also @command{go get}-able:
48
49 @example
50 $ go get go.cypherpunks.ru/goredo
51 $ goredo -symlinks
52 @end example
53
54 If you have problems with @code{*.golang.org}'s inability to verify
55 authenticity of @code{go.cypherpunks.ru} TLS connection, then you can
56 disable their usage by setting @env{GOPRIVATE=go.cypherpunks.ru}. You
57 can override CA certificate file path with @env{SSL_CERT_FILE} and
58 @env{GIT_SSL_CAINFO} environment variables.
59
60 You can obtain development source code with
61 @command{git clone git://git.cypherpunks.ru/goredo.git}
62 (also you can use @url{https://git.cypherpunks.ru/goredo.git}).