strongSwan Installation Documentation » History » Version 41

Version 40 (Tobias Brunner, 04.05.2011 11:39) → Version 41/59 (Tobias Brunner, 04.08.2011 09:15)

h1. strongSwan Installation Documentation

h2. Live testing system

We have built a [[OpenWRTDemo|small test system]] to run strongSwan without installation or configuration. It is based on a UML kernel, two small "OpenWRT": images and should run on any x86 Linux system out of the box.

h2. Distribution packages

There are currently packages for:
* "Debian":
* "Ubuntu":
* "openSUSE":
* "Gentoo":
* "Maemo":

h2. Compile yourself

h3. Linux Kernel requirements

strongSwan should run on most distros' kernels. If you build your own kernel, include [[KernelModules|the required modules]].

h3. Building strongSwan

We have changed the build system to autotools for the 4.x releases.

There is a growing list of [[Autoconf|autoconf [[Autoconf45|autoconf options]] available:

* [[Autoconf|Autoconf [[Autoconf45|Autoconf options for 4.5 releases]] (current)
* [[Autoconf44|Autoconf options for 4.4 releases]]
* [[Autoconf43|Autoconf options for 4.3 releases]]
* [[Autoconf42|Autoconf options for 4.2 releases]]
* [[Autoconf41|Autoconf options for 4.1 releases]]

Refer to the [[PluginList|list of plugins]] to learn more about the plugins that can be enabled with the above options.

The build procedure is as with any autotools project:

# "Download strongSwan":
# Unpack the tarball:
tar xjvf strongswan-4.x.x.tar.bz2; cd strongswan-4.x.x
# Configure strongSwan using some of the options above:
./configure --prefix=/usr --sysconfdir=/etc --<your-options>
# Build the sources and install the binaries as root:
sudo make install

h3. Building strongSwan on other platforms

* [[FreeBSD|strongSwan on FreeBSD]] (IKEv2 only)
* [[MacOSX|strongSwan on Mac OS X]] (IKEv2 only)
* [[Android|strongSwan on Android]] (IKEv2 only)