Upgrading ClamAV

From dghartung.com/docs

Jump to: navigation, search

Learn how to do a fresh install of clamav here ClamAV

Goto http://www.clamav.net/stable.php#pagestart to browse to the stable release of clamav and copy the link for the tarball

Then:

cd /usr/local/src/
wget http://the-clamav-stable-release-address

Untar the tarball

tar -zxvf clamav-0.88.7.tar.gz
cd clamav-0.88.7
./configure --sysconfdir=/etc/
make

Then, If you really are upgrading then do:

service clamd stop

Then, from the clamav source directory run:

make install
ldconfig      # I had to run ldconfig to update the libraries or else the start fails
service clamd start

I run amavisd-new, so I'll reload that

amavisd reload
Personal tools