Install and run Clamav on Ubuntu 14.04

How to Install clamav on Ubuntu 14.04

# sudo apt-get install clamav clamav-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  clamav-base clamav-freshclam libclamav6
Suggested packages:
  clamav-docs daemon libclamunrar6
The following NEW packages will be installed:
  clamav clamav-base clamav-daemon clamav-freshclam libclamav6
0 upgraded, 5 newly installed, 0 to remove and 25 not upgraded.

Then update

# freshclam
ClamAV update process started at Sat Jul 11 10:49:02 2015
Downloading main.cvd [100%]
main.cvd updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Downloading daily.cvd [100%]
daily.cvd updated (version: 20679, sigs: 1472884, f-level: 63, builder: jesler)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 263, sigs: 48, f-level: 63, builder: shurley)
Database updated (3897157 signatures) from db.local.clamav.net (IP: 64.6.100.177)

Start clamav

/etc/init.d/clamav-daemon start

Start clamav-daemon (clamd):

Check clamd status :

# sudo /etc/init.d/clamav-daemon status
 * clamd is running

Start and check the status of clamav-freshclam :

# sudo /etc/init.d/clamav-freshclam start

# sudo /etc/init.d/clamav-freshclam status
 * freshclam is running

Verify ClamAV version number :

Run a Scan
# sudo clamscan -r /home

Scan and remove virus files :

# sudo clamscan --infected --remove --recursive /home

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.