Install Clam AntiVirus for Linux

Note: This article is provided for informational purposes only. If you choose to install anti-virus software, our standard 3rd party software policy applies: you are welcome to install and operate 3rd party software on the Eclipse server, but Eclipse will not certify or provide technical support for any of these software products, so you must obtain technical support from the vendor or elsewhere.

Installation

Download the ClamAV packages:

yum install clamav

Install anti-virus updates:

freshclam

Scan

To initiate an on-demand scan:

clamscan --recursive --log=/tmp/clamscan.log /

To filter the results:

egrep -v "OK|Symbolic|Empty|Excluded|Permission" clamscan.log

You should see ~46 infected test files under the clamscan directory

Resources

http://sial.org/howto/clamav/
http://www.linuxmail.info/how-to-install-clam-antivirus-centos-5/
http://dag.wieers.com/rpm/packages/clamav/