Keywords: clamdoc

Next: Compilation with clamav-milter enabled Up: Installation Previous: Adding new system user Contents

## Compilation of base package

Once you have created the clamav user and group, please extract the archive:

    	$ zcat clamav-x.yz.tar.gz | tar xvf -
    	$ cd clamav-x.yz

Assuming you want to install the configuration files in /etc, configure and build the software as follows:

    	$ ./configure --sysconfdir=/etc
    	$ make
    	$ su -c "make install"

In the last step the software is installed into the /usr/local directory and the config files into /etc. WARNING: Never enable the SUID or SGID bits for Clam AntiVirus binaries.