How to install ClamAV on Ubuntu 14.04 LTS

  1. Install clamav and clamav-daemon. Clamav daemon is for automated use.

    ubuntu14:~$ sudo apt-get install clamav clamav-daemon -y

  2. Update the clamav pattern file:

    ubuntu14:~$ sudo freshclam

  3. Start clamav-daemon (clamd):

    ubuntu14:~$ sudo /etc/init.d/clamav-daemon start
    * Starting ClamAV daemon clamd [ OK ]

  4. Check clamd status:

    ubuntu14:~$ sudo /etc/init.d/clamav-daemon status
    * clamd is running

  5. Start and check the status of clamav-freshclam:

    ubuntu14:~$ sudo /etc/init.d/clamav-freshclam start
    * Starting ClamAV virus database updater freshclam [ OK ]

    ubuntu14:~$ sudo /etc/init.d/clamav-freshclam status
    * freshclam is running

  6. Verify ClamAV version number:

    ubuntu14:~$ sudo clamdscan -VClamAV 0.98.7/20523/Fri May 29 12:36:20 2015

One thought on “How to install ClamAV on Ubuntu 14.04 LTS

Leave a Reply

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