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