]> Cypherpunks.ru repositories - govpn.git/blob - doc/installation.texi
[DOC] Download link for 5.1 release
[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/, AUR}
8 @item @url{http://www.freshports.org/security/govpn/, FreeBSD ports}
9 @end itemize
10
11 GoVPN is written on Go programming language and you have to install Go
12 compiler (1.5+ version is highly recommended): @code{lang/go} port in
13 FreeBSD and @code{golang} package in most GNU/Linux distributions.
14 @emph{Make} (BSD and GNU ones are fine) is recommended for convenient
15 building. @url{https://www.gnu.org/software/texinfo/, Texinfo} is used
16 for building documentation. Possibly you also need to install TUN/TAP
17 interface utilities (depending on your operating system):
18 @code{uml-utilities} package in most GNU/Linux distributions.
19
20 Included required libraries:
21
22 @multitable @columnfractions .40 .20 .40
23 @headitem Library @tab Platform @tab Licence
24 @item @code{github.com/agl/ed25519} @tab All @tab BSD 3-Clause
25 @item @code{github.com/bigeagle/water} @tab GNU/Linux @tab BSD 3-Clause
26 @item @code{github.com/dchest/blake2b} @tab All @tab CC0 1.0
27 @item @code{github.com/go-yaml/yaml} @tab All @tab LGPLv3 and MIT
28 @item @code{github.com/magical/argon2} @tab All @tab BSD 2-Clause
29 @item @code{golang.org/x/crypto} @tab All @tab BSD 3-Clause
30 @end multitable
31
32 Get @ref{Tarballs, the tarball}, check its
33 @ref{Integrity, integrity and authenticity} and run @code{make}.
34 @emph{govpn-client}, @emph{govpn-server}, @emph{govpn-verifier}
35 binaries will be built in the current directory:
36
37 @example
38 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz
39 % wget http://www.cypherpunks.ru/govpn/download/govpn-2.3.tar.xz.sig
40 % gpg --verify govpn-2.3.tar.xz.sig govpn-2.3.tar.xz
41 % tar xf govpn-2.3.tar.xz
42 % make -C govpn-2.3 all
43 @end example
44
45 There is @code{install} target respecting @code{DESTDIR}. It will
46 install binaries, info-documentation and utilities.
47
48 @menu
49 * Prepared tarballs: Tarballs.
50 * Tarballs integrity check: Integrity.
51 * Development source code: Sources.
52 @end menu
53
54 @include download.texi
55 @include integrity.texi
56 @include sources.texi