[EMAIL PROTECTED] wrote:
> Oke,
>   

http://wiki.clamav.net/Main/InstallFromSource

> Than I do have a problem there  I now found two clamd.conf one in 
> /etc/clamav and one in /usr/local/etc/.
>  So I'll think the best way is once again first remove all the clamav 
> files I can find and than install it again from source.
>
> But how can I find which prefix to use or does it does not matter when I 
> start from scratch and simply use /usr
>   

A default install from source will put things into /usr/local. It is ok
this way, you can edit the config files in /usr/local/etc, run clamd
from /usr/local/sbin/clamd, ...
Since /usr is managed by dpkg it is best to not put hand-built stuff
inthere, but use /usr/local.
You can force an /usr prefix though:
./configure --prefix=/usr --sysconfdir=/etc/clamav

Also try searching the archives of this mailing list, I'm sure questions
like this have been answered more than once.

> What strikes me a strange that I find two conf but when I check if 
> clamav is installed it comes only back with one instalaltion and I also 
> think that Ubuntu is installing in a diff dir than you standard so its 
> better no the use apt-get update here ?
>   

You can use apt-get update, but you should either use Ubuntu's packages,
or your own binaries, not both.
So do not apt-get install clamav-daemon if you built clamd yourself.
You should remove the packages with apt-get remove.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to