Building and installing from source: Difference between revisions

From Libreswan
Jump to navigation Jump to search
(Created page with " While libreswan is becoming part of more Linux distributions over time, it has not yet made it in all distributions. If your OS does not yet ship with libreswan packages, you...")
 
No edit summary
Line 2: Line 2:
While libreswan is becoming part of more Linux distributions over time, it has not yet made it in all distributions. If your OS does not yet ship with libreswan packages, you can build libreswan from source yourself. The source archive contains a directory ''/packaging'' that provides the build instructions for many systems, including fedora, rhel/centos and openwrt. For Debian and Ubuntu based systems, packaging files are in the ''/debian/'' directory.
While libreswan is becoming part of more Linux distributions over time, it has not yet made it in all distributions. If your OS does not yet ship with libreswan packages, you can build libreswan from source yourself. The source archive contains a directory ''/packaging'' that provides the build instructions for many systems, including fedora, rhel/centos and openwrt. For Debian and Ubuntu based systems, packaging files are in the ''/debian/'' directory.


Here is simple procedure to build debian package from libreswan tarball.
# cd libreswan-3.*/debian
# debuild -i -us -uc -b


== Compiling the userland for an install in /usr/local ==
== Compiling the userland for an install in /usr/local ==

Revision as of 16:31, 24 October 2014

While libreswan is becoming part of more Linux distributions over time, it has not yet made it in all distributions. If your OS does not yet ship with libreswan packages, you can build libreswan from source yourself. The source archive contains a directory /packaging that provides the build instructions for many systems, including fedora, rhel/centos and openwrt. For Debian and Ubuntu based systems, packaging files are in the /debian/ directory.

Here is simple procedure to build debian package from libreswan tarball.

  1. cd libreswan-3.*/debian
  2. debuild -i -us -uc -b

Compiling the userland for an install in /usr/local