Ubuntu – How to update ClamAV definitions database

antivirusclamavupdates

How can I update Clam Antivirus via the terminal?

I already have installed clamav, but I want to know how can I update the virus database.

Best Answer

To update the ClamAV database do sudo freshclam.

NAME
       freshclam - update virus databases

SYNOPSIS
       freshclam [options]

DESCRIPTION
       freshclam is a virus database update tool for ClamAV.

For offline update, you can also directly download virus definition from database: main, daily and then put them into /var/lib/clamav (remove old files).

Related Question