]> Cypherpunks.ru repositories - govpn.git/blob - doc/installation.texi
[DOC] Key can be retrieved using HKP keyserver
[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/dchest/blake2b} @tab All @tab CC0 1.0
30 @item @code{github.com/go-yaml/yaml} @tab All @tab LGPLv3 and MIT
31 @item @code{golang.org/x/crypto} @tab All @tab BSD 3-Clause
32 @end multitable
33
34 Get @ref{Tarballs, the tarball}, check its
35 @ref{Integrity, integrity and authenticity} and run @command{make}.
36 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
37 binaries will be built in the current directory:
38
39 @verbatim
40 % wget http://www.govpn.info/download/govpn-2.3.tar.xz
41 % wget http://www.govpn.info/download/govpn-2.3.tar.xz.sig
42 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
43 % tar xf govpn-2.3.tar.xz
44 % make -C govpn-2.3 all
45 @end verbatim
46
47 There is @code{install} target respecting @env{DESTDIR}. It will
48 install binaries, info-documentation and utilities.
49
50 @menu
51 * Prepared tarballs: Tarballs.
52 * Tarballs integrity check: Integrity.
53 * Development source code: Sources.
54 @end menu
55
56 @include download.texi
57 @include integrity.texi
58 @include sources.texi