2.6. Install

After successful compilation, you can install samhain by typing:

sh$ make install

The installation routine will not overwrite your configuration file from a previous installation.

Executables will be stripped upon installation. On Linux i386 and FreeBSD i386, the sstrip utility (copyright 1999 by Brian Raiter, under the GNU GPL) will be used to strip the executable even more, to prevent debugging with the GNU gdb debugger.

After installation, you will be offered to run make install-boot in order to install the init scripts that are required /B > P_USER_AGENT = /MSIE/)"-->./usr/share/doc/samhain/manual.html/installation-build.html0000644000000000000000000001006410456267630022727 0ustar rootroot Build

2.5. Build

After configuring the source, to build samhain you just have to type the command:

sh$ make

The standalone/client executable (samhain) and the log server (yule) cannnot be compiled simultaneously. You need to run ./configure && make separately for both.

If you want to use your native package manager for installation, you might rather want to build a binary package. samhain has support for RPM (rpm), Debian (deb), Gentoo (tbz2), HP-UX (depot), and Solaris packages. Instead of simply typing make, you need to type:

sh$ make rpm|deb|tbz2|depot|solaris-pkg

This will create a custom binary package according to the options that you used when configuring the source (see previous section). For more details, see Section 10.2>.

If you don't want to include documentation, you can instead use:

sh$ make rpm-light|deb-light|depot-light