First, download the latest version from Sourceforge:

 

wget http://sourceforge.net/projects/clamav/files/clamav/0.97.5/clamav-0.97.5.tar.gz

Extract it and move into that directory:

tar -xzf clamav-*
cd clamav*

Compile:

./configure --prefix=/usr
make
make install

Comment out examples in the config files:

replace "Example" "#Example" -- /usr/etc/freshclam.conf
replace "Example" "#Example" -- /usr/etc/clamd.conf

Get the new virus definitions:

freshclam

Then just make sure you have the latest version of the ClamAV scanner if you’re using it (this can be done from the “Manage Plugins” screen in the cPanel section of WHM).