ClamAV
Installing (Linux)
Download the latest stable release from the ClamAV Site. Full documentation for the install process is included with the distribution in the file named ./doc/clamdoc.pdf.
De-compress the archive and change your working folder to the de-compressed folder
Installing for All Users
Note: the 'All Users' instructions have not been confirmed. They are a summary of the instructions included in the distribution.
Add a clamav user and group
# groupadd clamav # useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamavBuild and install
$ ./configure --sysconfdir=/etc $ make # make installEdit /etc/clamd.conf setting the options to suit
# vi /etc/clamd.confEdit the configuration file, ensuring you set the location of the database (DatabaseDirectory option)
# vi /etc/freshclam.confRun the clamd daemo
$ clamd
Installing for Shell Account
Build, specifying and install location, then install
$ ./configure --prefix=/home/myname/clamav --disable-clamav $ make; make installEdit the configuration file, ensuring you set the location of the database (DatabaseDirectory option)
$ vi ./etc/freshclam.confUpdate the virus database
$ ~/clamav/bin/freshclamCheck the database is up-to-date by examining the date shown with the version option
$ ~/clamav/bin/clamscan --version --database=./${DATABASE_LOCATION}Test the installation
$ ~/clamav/bin/clamscan --database=./${DATABASE_LOCATION} ~
False Positives
Use VirusTotal.com to check how likely the file is a false positive.
If you think it is, submit it to ClamAV using the virus submission form.
References
-- Frank Dean - 15 Mar 2010