To install Clam AntiVirus (ClamAV), we are going to use the precompiled binaries from Dag Wieers RPM packages for Red Hat, RHEL, CentOS and Fedora.

Adding RPMforge to Yum

Firefox RPMforge1. Launch Firefox and go to http://dag.wieers.com/rpm/FAQ.php#B2. Click on the package appropriate for your version of Red Hat Enterprise Linux or CentOS.
Firefox RPMForge Install2. Choose Open with Software Installer (default) and click Ok.
Installing RPMForge3. The Installing packages window will appear. Click Apply to proceed.
Installing RPMForge4. Finally click Ok. You now have access to an extensive library of precompiled binaries.

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.
 

***
Posted on 4/23/2007 and last updated on 10/25/2008
Filed under Anti-spam/Anti-virus , CentOS 5 , Red Hat Enterprise Linux 5


Share This