$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Install ClamAV Antivirus on Ubuntu 20.04 – Step by step

October 19, 2025 | By the+gnu+linux+evangelist.

How to Install

  1. 2. Install ClamAV

    Install ClamAV core, daemon, and freshclam updater:

    sudo apt install clamav clamav-daemon clamav-freshclam -y
  2. 3. Stop Freshclam Service Temporarily

    Stop the automatic update service to manually update signatures:

    sudo systemctl stop clamav-freshclam
  3. 4. Update Virus Database

    Manually update the ClamAV virus database:

    sudo freshclam
  4. 5. Enable and Start Services

    Start and enable ClamAV daemon and freshclam for automatic updates:

    sudo systemctl enable --now clamav-freshclam
    sudo systemctl enable --now clamav-daemon
  5. 6. Scan Your System

    Run a recursive scan on a directory and show only infected files:

    clamscan -r -i /path/to/scan

    Or use the faster daemon scan:

    clamdscan --fdpass /path/to/scan

Contents