]> 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 @emph{Make} is recommended for convenient building.
6 @url{https://www.gnu.org/software/texinfo/, Texinfo}
7 is used for building documentation.
8
9 Included required libraries:
10
11 @multitable @columnfractions .40 .20 .40
12 @headitem Library @tab Platform @tab Licence
13 @item @code{golang.org/x/crypto} @tab All @tab BSD 3-Clause
14 @item @code{github.com/agl/ed25519} @tab All @tab BSD 3-Clause
15 @item @code{github.com/bigeagle/water} @tab GNU/Linux @tab BSD 3-Clause
16 @end multitable
17
18 Get the tarball and run @code{make}.
19 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
20 binaries will be build in the current directory.
21
22 As a prerequisite you must install Go compiler and possibly TUN/TAP
23 interfaces utilities:
24
25 @itemize @bullet
26 @item @code{lang/go} port in FreeBSD.
27 @item @code{golang} and @code{uml-utilities} packages in GNU/Linux
28 distributions.
29 @end itemize
30
31 @example
32 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz
33 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz.sig
34 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
35 % tar xf govpn-2.3.tar.xz
36 % make -C govpn-2.3 all
37 @end example
38
39 There is @code{install} target respecting @code{DESTDIR}. It will
40 install binaries, info-documentation and utilities.
41
42 @menu
43 * Prepared tarballs::
44 * Development source code::
45 * Tarballs integrity check::
46 @end menu
47
48 @include download.texi
49 @include sources.texi
50 @include integrity.texi