# ClamAV clamdscan

ClamAV clamdscan is a self-hosted other app. Open-source antivirus engine and on-demand scanner that detects trojans, viruses, and other malware in files and directories, letting self-hosters add server-side scanning through the clamdscan daemon. It is open source and self-hosted, installable on Docker Hub, TrueNAS, Unraid and Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/5163/clamav-clamdscan

## Description

Open-source antivirus engine and on-demand scanner that detects trojans, viruses, and other malware in files and directories, letting self-hosters add server-side scanning through the clamdscan daemon.

## Platform availability

Available on 6 of 10 platforms: Unraid, TrueNAS, Helm, Mac, Windows, Any server.

## Desktop and other devices

Mac, Windows.

## Health score

86/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 4 days ago)
- Popular: 78 (7,652 GitHub stars)
- Easy to install: 100 (6 install platforms, install notes, setup guide, Docker image)
- Light to run: 40 (3 GB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/Cisco-Talos/clamav
- Docker Hub: https://hub.docker.com/r/bmmbmm01
- TrueNAS: https://apps.truenas.com/catalog/clamav
- Unraid: https://ca.unraid.net/apps/clamav-0r7shx81pyb2w0
- Kubernetes (Helm): https://artifacthub.io/packages/helm/wiremind/clamav
- desktop: https://github.com/Cisco-Talos/clamav/releases/latest
- Official website: https://www.clamav.net/
- Documentation: https://docs.clamav.net

## Common questions

### How do I prevent the ClamAV scanner or database updater from failing to start after a fresh install?

Copy sample settings files to active names such as freshclam.conf and clamd.conf. If no sample files are present, run clamconf -g to generate freshclam.conf, clamd.conf, and clamav-milter.conf.

### Why does ClamAV stop when I close the terminal on Windows, and how can I manage it as a service?

Run clamd --install-service to register ClamAV as a Windows background service. Without that, the scanner may stop when your terminal closes and cannot be managed with normal system start/stop tools.

### Can I scan a list of files with ClamAV and use --multiscan at the same time?

Using a file list prevents using --multiscan. Options run from a host that is not running the ClamAV daemon may also not take effect as expected.

### Can ClamAV block file access until a file has been scanned?

On Linux, ClamOnAcc for the ClamD daemon provides on-access scanning with optional prevention. This can block file access until a file has been scanned.

## Alternatives

- AVG AntiVirus: AVG AntiVirus Free provides basic antivirus and antispyware protection for home users.
- Avast Free Antivirus: Protects devices from viruses and malware, offers real-time threat detection, home network scanning, password management, secure browsing,…
- Avira Antivirus: Provides real-time malware, ransomware, and spyware protection with web safety, cloud-based updates, VPN, system optimization, and advanced…
- Bitdefender Antivirus: Free antivirus with real-time protection, minimal resource usage, Game mode optimization, AI threat detection, and easy setup with customer…
- ClamWin: ClamWin is a free, open-source antivirus software for Microsoft Windows, using the ClamAV engine.
- ESET NOD32 Antivirus: A lightweight, AI-powered antivirus protecting against viruses, ransomware, and phishing while maintaining speed.
- Kaspersky AntiVirus: Kaspersky AntiVirus offers protection from a range of IT threats and provides the basic tools needed to keep your PC secure.
- Malwarebytes Anti-Malware: Advanced AI-driven protection software that offers real-time defense against new and known threats using machine learning for superior thre…
- Microsoft Defender: Windows Security (known as Windows Defender Antivirus before Windows 10 May 2020 Update, Windows Defender before Windows 10 Creators Update…
- Spybot - Search &amp; Destroy: Detects and removes spyware, malware, adware, browser hijackers, and tracking cookies with real-time protection and manual or scheduled sca…

---
Source: Our Local Host (https://ourlocalhost.com/app/5163/clamav-clamdscan), the self-hosted and open-source app directory.
