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