]> Cypherpunks.ru repositories - govpn.git/blob - doc/installation.texi
Merge branch 'develop'
[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/poly1305} @tab All @tab BSD 3-Clause
15 @item @code{golang.org/x/crypto/salsa20} @tab All @tab BSD 3-Clause
16 @item @code{golang.org/x/crypto/xtea} @tab All @tab BSD 3-Clause
17 @item @code{golang.org/x/crypto/pbkdf2} @tab All @tab BSD 3-Clause
18 @item @code{github.com/agl/ed25519} @tab All @tab BSD 3-Clause
19 @item @code{github.com/bigeagle/water} @tab GNU/Linux @tab BSD 3-Clause
20 @end multitable
21
22 You can get tarball, set proper @code{$GOPATH} and run
23 @code{make} (that will install all necessary libraries and build
24 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier} binaries:
25
26 @example
27 % mkdir -p govpn/src
28 % set -e
29 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz
30 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz.sig
31 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
32 % tar xfC govpn-2.3.tar.xz govpn/src
33 % mv govpn/src/govpn-2.3 govpn/src/govpn
34 % export GOPATH=$(pwd)/govpn:$GOPATH
35 % gmake -C govpn/src/govpn all
36 @end example
37
38 @menu
39 * Prepared tarballs::
40 * Development source code::
41 * Tarballs integrity check::
42 @end menu
43
44 @include download.texi
45 @include sources.texi
46 @include integrity.texi