]> Cypherpunks.ru repositories - govpn.git/blob - doc/installation.texi
[DOC] Add missing separate curve25519 library notice
[govpn.git] / doc / installation.texi
1 @node Installation
2 @unnumbered Installation
3
4 GoVPN is written on @url{http://golang.org/, Go programming language},
5 @url{https://www.gnu.org/software/make/, GNU Make} is recommended for
6 convenient building. @url{https://www.gnu.org/software/texinfo/, Texinfo}
7 is used for building documentation.
8
9 Required libraries, dependencies (they are installed automatically when
10 using @emph{Make}):
11
12 @multitable @columnfractions .40 .20 .40
13 @headitem Library @tab Platform @tab Licence
14 @item @code{golang.org/x/crypto/curve25519} @tab All @tab BSD 3-Clause
15 @item @code{golang.org/x/crypto/poly1305} @tab All @tab BSD 3-Clause
16 @item @code{golang.org/x/crypto/salsa20} @tab All @tab BSD 3-Clause
17 @item @code{golang.org/x/crypto/xtea} @tab All @tab BSD 3-Clause
18 @item @code{golang.org/x/crypto/pbkdf2} @tab All @tab BSD 3-Clause
19 @item @code{github.com/agl/ed25519} @tab All @tab BSD 3-Clause
20 @item @code{github.com/bigeagle/water} @tab GNU/Linux @tab BSD 3-Clause
21 @end multitable
22
23 You can get tarball, set proper @code{$GOPATH} and run
24 @code{make} (that will install all necessary libraries and build
25 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
26 binaries):
27
28 @example
29 % mkdir -p govpn/src
30 % set -e
31 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz
32 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz.sig
33 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
34 % tar xfC govpn-2.3.tar.xz govpn/src
35 % mv govpn/src/govpn-2.3 govpn/src/govpn
36 % export GOPATH=$(pwd)/govpn:$GOPATH
37 % gmake -C govpn/src/govpn all
38 @end example
39
40 @menu
41 * Prepared tarballs::
42 * Development source code::
43 * Tarballs integrity check::
44 @end menu
45
46 @include download.texi
47 @include sources.texi
48 @include integrity.texi