strongSwan Installation Documentation » History » Version 53
Tobias Brunner, 20.04.2015 11:42
1 | 53 | Tobias Brunner | {{title(strongSwan Installation Documentation)}} |
---|---|---|---|
2 | 25 | Tobias Brunner | |
3 | 53 | Tobias Brunner | h1. strongSwan Installation Documentation |
4 | 25 | Tobias Brunner | |
5 | 25 | Tobias Brunner | |
6 | 25 | Tobias Brunner | h2. Distribution packages |
7 | 25 | Tobias Brunner | |
8 | 25 | Tobias Brunner | |
9 | 1 | Martin Willi | There are currently packages for: |
10 | 47 | Dmitry Korzhevin | * "Arch Linux":https://aur.archlinux.org/packages/strongswan/ |
11 | 27 | Tobias Brunner | * "Debian":http://packages.debian.org/search?keywords=strongswan&searchon=names&suite=all§ion=all |
12 | 31 | Andreas Steffen | * "Ubuntu":http://packages.ubuntu.com/search?keywords=strongswan&searchon=names&suite=all§ion=all |
13 | 27 | Tobias Brunner | * "openSUSE":http://software.opensuse.org/search?p=1&q=strongswan |
14 | 27 | Tobias Brunner | * "Gentoo":http://packages.gentoo.org/package/net-misc/strongswan |
15 | 39 | Tobias Brunner | * "Maemo":http://maemo.org/packages/view/strongswan/ |
16 | 44 | Brian Pruss | * "Fedora":http://pkgs.org/download/strongswan |
17 | 44 | Brian Pruss | * "Red Hat Enterprise Linux and CentOS via EPEL":http://pkgs.org/download/strongswan |
18 | 1 | Martin Willi | |
19 | 25 | Tobias Brunner | h2. Compile yourself |
20 | 16 | Martin Willi | |
21 | 16 | Martin Willi | |
22 | 1 | Martin Willi | |
23 | 30 | Andreas Steffen | h3. Linux Kernel requirements |
24 | 25 | Tobias Brunner | |
25 | 25 | Tobias Brunner | strongSwan should run on most distros' kernels. If you build your own kernel, include [[KernelModules|the required modules]]. |
26 | 25 | Tobias Brunner | |
27 | 25 | Tobias Brunner | h3. Building strongSwan |
28 | 25 | Tobias Brunner | |
29 | 1 | Martin Willi | |
30 | 43 | Tobias Brunner | Since the release of strongSwan 4.x the GNU build system (Autotools) is used to build strongSwan. |
31 | 38 | Tobias Brunner | |
32 | 50 | Tobias Brunner | There is a growing list of configure options available (*note that many of these are enabled by default*): |
33 | 43 | Tobias Brunner | |
34 | 45 | Tobias Brunner | * [[Autoconf|Autoconf options for the most current release]] |
35 | 46 | Tobias Brunner | * [[Autoconf46|Autoconf options for 4.6 releases]] |
36 | 1 | Martin Willi | |
37 | 50 | Tobias Brunner | Refer to the [[PluginList|list of plugins]] to learn more about the plugins enabled with the above options. |
38 | 48 | Tobias Brunner | |
39 | 49 | Tobias Brunner | *Note:* Some plugins have dependencies on third-party libraries. To compile such plugins the header files of those libraries are required. Make sure these are installed on your system, e.g. by installing the appropriate _-dev_ package on Debian-based systems. Otherwise, the ./configure script will complain that it can't find the library or header files. |
40 | 40 | Tobias Brunner | |
41 | 40 | Tobias Brunner | |
42 | 1 | Martin Willi | The build procedure is as with any autotools project: |
43 | 40 | Tobias Brunner | |
44 | 1 | Martin Willi | # "Download strongSwan":http://www.strongswan.org/download.html: |
45 | 1 | Martin Willi | <pre> |
46 | 45 | Tobias Brunner | wget http://download.strongswan.org/strongswan-x.x.x.tar.bz2 |
47 | 1 | Martin Willi | </pre> |
48 | 40 | Tobias Brunner | # Unpack the tarball: |
49 | 40 | Tobias Brunner | <pre> |
50 | 45 | Tobias Brunner | tar xjvf strongswan-x.x.x.tar.bz2; cd strongswan-x.x.x |
51 | 40 | Tobias Brunner | </pre> |
52 | 40 | Tobias Brunner | # Configure strongSwan using some of the options above: |
53 | 40 | Tobias Brunner | <pre> |
54 | 1 | Martin Willi | ./configure --prefix=/usr --sysconfdir=/etc --<your-options> |
55 | 40 | Tobias Brunner | </pre> |
56 | 40 | Tobias Brunner | # Build the sources and install the binaries as root: |
57 | 40 | Tobias Brunner | <pre> |
58 | 1 | Martin Willi | make |
59 | 1 | Martin Willi | sudo make install |
60 | 1 | Martin Willi | </pre> |
61 | 52 | Tobias Brunner | |
62 | 52 | Tobias Brunner | h3. Building strongSwan from the Git repository |
63 | 52 | Tobias Brunner | |
64 | 52 | Tobias Brunner | To build strongSwan from the Git repository additional tools and steps are required, check source:HACKING for details. |
65 | 30 | Andreas Steffen | |
66 | 33 | Tobias Brunner | h3. Building strongSwan on other platforms |
67 | 30 | Andreas Steffen | |
68 | 51 | Tobias Brunner | * [[FreeBSD|strongSwan on FreeBSD]] |
69 | 51 | Tobias Brunner | * [[MacOSX|strongSwan on Mac OS X]] |
70 | 51 | Tobias Brunner | * [[Android|strongSwan on Android]] |