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