]> 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 Go programming language and you have to install Go
5 compiler (1.5+ version is highly recommended): @code{lang/go} port in
6 FreeBSD and @code{golang} package in most GNU/Linux distributions.
7 @emph{Make} is recommended for convenient building.
8 @url{https://www.gnu.org/software/texinfo/, Texinfo} is used for
9 building documentation.
10 Possibly you also need to install TUN/TAP interface utilities (depending
11 on your operating system): @code{uml-utilities} package in most
12 GNU/Linux distributions.
13
14 Included required libraries:
15
16 @multitable @columnfractions .40 .20 .40
17 @headitem Library @tab Platform @tab Licence
18 @item @code{golang.org/x/crypto} @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 Get @ref{Prepared tarballs, the tarball}, check its
24 @ref{Tarballs integrity check, authenticity} and run @code{make}.
25 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
26 binaries will be built in the current directory:
27
28 @example
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 xf govpn-2.3.tar.xz
33 % make -C govpn-2.3 all
34 @end example
35
36 There is @code{install} target respecting @code{DESTDIR}. It will
37 install binaries, info-documentation and utilities.
38
39 @menu
40 * Prepared tarballs::
41 * Development source code::
42 * Tarballs integrity check::
43 @end menu
44
45 @include download.texi
46 @include sources.texi
47 @include integrity.texi