To install Clam AntiVirus (ClamAV), we are going to use the precompiled binaries from the RPMforge repository. Learn how to add the RPMforge repository.

Installing Clam AntiVirus

If you prefer not to use the GUI tool below, you can also install the Clam AntiVirus by typing in yum install clamd in a Terminal window.

Package Manager1. Click Applications then click Add/Remove Software. This will launch the Package Manager window.
Package Manager Search2. Click the Search tab. Next type in clamd and click the Search button.
Package Manager Search3. Select the latest version of clamd then click Apply. Next click on Continue until it proceeds with the installation.
Package Manager4. After installation, click Ok. You now have successfully installed Clam Antivirus.
CentOS 5 Service Configuration5. Start the clamd service. Learn how to stop and start services here.
CentOS 5 Terminal6. To test ClamAV AntiVirus, type in the command clamscan in a terminal window.
CentOS 5 Terminal7. To update the virus database, type in the command freshclam in a terminal window.
 

Visit the forum to ask for help or to give a comment.

***
Posted on 4/23/2007 and last updated on 11/7/2009
Filed under Anti-spam/Anti-virus , CentOS 5 , Red Hat Enterprise Linux 5