I uninstalled clamav with

apt-get remove --purge clamav

but still I have this 100MB folder:

du -shc /var/lib/clamav

Why is this not deleted on purge? And how can I find out if some other installed program still uses this folder?


clamav on at least Debian (you don't mention what distro you're using) doesn't contain the database. For that clamav has a dependency on clamav-freshclam | clamav-data so make sure that both of those are also purged.

  • 1
    purging those packages will empty the database (though it still leaves a small file /var/lib/clamav/bytecode.cld) How did you find out those packages? – rubo77 Jan 22 '15 at 3:59
  • 1
    If you look at the package details you also find dependencies on clamav-base clamav-docs libclamav6 I removed them with apt-get remove --purge clamav* – rubo77 Jan 22 '15 at 4:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.