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 the package as follows:

    	$ ./configure --sysconfdir=/etc

Currently gcc is required to compile ClamAV.

    	$ make
    	$ su -c "make install"

In the last step the software is installed in the /usr/local directory and the config file goes to /etc. WARNING: Never enable the SUID or SGID bits in Clam AntiVirus binaries.