Building and installing from source: Difference between revisions
Jump to navigation
Jump to search
(Add Fedora 24) |
(Add fedora 26) |
||
Line 8: | Line 8: | ||
== Compiling the userland for an install in /usr/local == | == Compiling the userland for an install in /usr/local == | ||
=== Fedora 26 === | |||
<pre> | |||
dnf group install 'C Development Tools and Libraries' | |||
dnf install nss-devel nspr-devel libevent-devel unbound-devel pam-devel audit-libs-devel libcurl-devel libseccomp-devel systemd-devel libcap-ng-devel fipscheck-devel ldns-devel xmlto | |||
make all | |||
make install | |||
</pre> | |||
=== Fedora 24 === | === Fedora 24 === |
Revision as of 04:18, 9 August 2017
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
- make deb
Compiling the userland for an install in /usr/local
Fedora 26
dnf group install 'C Development Tools and Libraries' dnf install nss-devel nspr-devel libevent-devel unbound-devel pam-devel audit-libs-devel libcurl-devel libseccomp-devel systemd-devel libcap-ng-devel fipscheck-devel ldns-devel xmlto make all make install
Fedora 24
dnf group install 'C Development Tools and Libraries' dnf install nss-devel nspr-devel unbound-devel xmlto pam-devel libevent-devel audit-libs-devel fipscheck-devel libcap-ng-devel libcurl-devel systemd-devel make all make install
Fedora 23
dnf group install 'C Development Tools and Libraries' dnf install nss-devel nspr-devel unbound-devel xmlto pam-devel libevent-devel audit-libs-devel fipscheck-devel libcap-ng-devel libcurl-devel make all make install