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. To do this, we are going to configure Yum to look for the ClamAV packages in Dag’s repository.
Adding Dag Wieers RPM Repository to Yum

1. Click Applications, select System Tools and click Terminal. This will launch the Terminal window. Type in the command cd /etc/yum.repos.d and press Enter. This will bring us to the Yum repository configuration directory.
2. From this directory download the Yum repository configuration file by typing in the commandwget http://www.linux-mail.info/files/dag-clamav.repo and press Enter. This is what the file dag-clamav.repo looks like.
Installing Clam AntiVirus

3. To install ClamAV AntiVirus, type in the commandyum install clamav clamav-devel clamd and press Enter. When asked to confirm download, type in y and press Enter.
Testing Clam AntiVirus
«« Previous: How to Configure the Firewall
Next: How to Install MailScanner »»
***
Posted on 3/14/2007 and last updated on 11/3/2007
Filed under Anti-spam/Anti-virus , CentOS 4 , Red Hat Enterprise Linux 4
Share This
