]> Cypherpunks.ru repositories - govpn.git/blob - doc/installation.texi
No need of notice that noise-mode is enabled when encryptionless is on
[govpn.git] / doc / installation.texi
1 @node Installation
2 @unnumbered Installation
3
4 Possibly GoVPN already exists in your distribution:
5
6 @itemize
7 @item @url{https://aur.archlinux.org/packages/govpn/, Arch Linux AUR}
8 @item @url{http://www.freshports.org/security/govpn/, FreeBSD ports}
9 @item @url{https://gpo.zugaina.org/net-misc/govpn, Gentoo Portage Overlay}
10 @item @url{https://pkgs.org/download/govpn, openSUSE OSS}
11 @end itemize
12
13 GoVPN is written on @url{https://golang.org/, Go} programming language
14 and you have to install Go compiler (1.5+ version is highly recommended,
15 1.4 is the minimal sufficient): @code{lang/go} port in FreeBSD and
16 @code{golang} package in most GNU/Linux distributions. @emph{Make} (BSD
17 and GNU ones are fine) is recommended for convenient building.
18 @url{https://www.gnu.org/software/texinfo/, Texinfo} (6.1+ version is
19 recommended) is used for building documentation. Possibly you also need
20 to install TUN/TAP interface utilities (depending on your operating
21 system): @code{uml-utilities} package in most GNU/Linux distributions.
22
23 Included required libraries:
24
25 @multitable @columnfractions .40 .20 .40
26 @headitem Library @tab Platform @tab Licence
27 @item @code{github.com/agl/ed25519} @tab All @tab BSD 3-Clause
28 @item @code{github.com/bigeagle/water} @tab GNU/Linux @tab BSD 3-Clause
29 @item @code{github.com/go-yaml/yaml} @tab All @tab LGPLv3 and MIT
30 @item @code{golang.org/x/crypto} @tab All @tab BSD 3-Clause
31 @end multitable
32
33 Get @ref{Tarballs, the tarball}, check its
34 @ref{Integrity, integrity and authenticity} and run @command{make}.
35 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
36 binaries will be built in the current directory:
37
38 @verbatim
39 % wget http://www.govpn.info/download/govpn-2.3.tar.xz
40 % wget http://www.govpn.info/download/govpn-2.3.tar.xz.sig
41 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
42 % tar xf govpn-2.3.tar.xz
43 % make -C govpn-2.3 all
44 @end verbatim
45
46 There is @code{install} target respecting @env{DESTDIR}. It will
47 install binaries, info-documentation and utilities.
48
49 @menu
50 * Prepared tarballs: Tarballs.
51 * Tarballs integrity check: Integrity.
52 * Development source code: Sources.
53 @end menu
54
55 @include download.texi
56 @include integrity.texi
57 @include sources.texi