# clamav を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

clamav のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:clamav
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install clamav
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clamav
```

  証拠: MacPorts ports tree: sysutils/clamav/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add clamav
```

  証拠: Alpine Linux edge package indexes: clamav from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install clamav
```

  証拠: Debian stable package indexes: clamav from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install clamav
```

  証拠: Fedora Rawhide package metadata: clamav from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#clamav
```

  証拠: nixpkgs package indexes: pkgs/by-name/cl/clamav/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S clamav
```

  証拠: Arch Linux sync databases: clamav from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install clamav
```

  証拠: openSUSE Tumbleweed package metadata: clamav from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install clamav
```

  証拠: Chocolatey community package catalog: clamav from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','chocolatey-misc-helpers.extension'

- Scoop (92%):

```sh
scoop install extras/clamav
```

  証拠: Scoop official bucket manifest trees: bucket/clamav.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Cisco.ClamAV -e
```

  証拠: Windows Package Manager source index: Cisco.ClamAV from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:clamav
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.5.3
- **ソース概要:** Anti-virus software
- **ホームページ:** <https://www.clamav.net/>
- **リポジトリ:** <https://github.com/Cisco-Talos/clamav>
- **最終更新:** 2026-07-01T18:14:11Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clamav-config (エイリアス)
- clambc (エイリアス)
- clamconf (エイリアス)
- clamd (エイリアス)
- clamdscan (エイリアス)
- clamdtop (エイリアス)
- clamonacc (エイリアス)
- clamscan (エイリアス)
- clamsubmit (エイリアス)
- freshclam (エイリアス)
- sigtool (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.5.3
## プロジェクトの歴史と使われ方

ClamAV is a long-running open source antivirus engine and command-line toolkit for detecting trojans, viruses, malware, and other threats. In package-manager terms, it is the classic installable antivirus stack: clamscan for one-shot scans, clamd for daemonized scanning, freshclam for signature updates, and supporting tools for signatures and configuration.

### プロジェクトの歴史

The current official repository is maintained under Cisco Talos. The README points to docs.clamav.net, the bundled NEWS file, source builds, package-manager installation, Docker images, and official installers for Linux, macOS, and Windows.

### 採用の歴史

The supplied package-manager data shows ClamAV packaged across Alpine, Debian, Ubuntu, Fedora/DNF, Arch, openSUSE, Nix, MacPorts, Homebrew, Chocolatey, Scoop, winget, and zypper. That breadth reflects its role as the default open source antivirus engine available through OS and language-adjacent package ecosystems.

### 使われ方

Users typically install the engine and signature tools, update databases with freshclam, scan files with clamscan or clamdscan, and run clamd for service-style scanning. The official sample configurations document clamd.conf and freshclam.conf options such as database directories, logging, official signature handling, and CVD certificate directories.

### パッケージ好きにとっての重要性

ClamAV is significant because it is both an end-user CLI package and infrastructure plumbing. Package maintainers care about its daemon, database update cadence, bundled signature tooling, optional components, distro-specific config paths, and the difference between upstream official packages and third-party binary packages.

### タイムライン

- 2012: Cisco-Talos/clamav GitHub repository created.
- 2021: v0.104 line introduced official Debian/RPM packages, macOS PKG installers, and updated Windows packaging according to the README.
- 2022: ClamAV 1.0.0 released.
- 2025: ClamAV 1.0.9 release published on the 1.0 LTS line.
- 2026: Main branch NEWS documents ongoing 1.5 and 1.6 development.

### Related projects

- Related components include libclamav, clamd, clamdscan, freshclam, sigtool, clamav-milter, the ClamAV documentation repository, official Docker images, and signature database infrastructure.

### ソース

- <https://github.com/Cisco-Talos/clamav>
- <https://raw.githubusercontent.com/Cisco-Talos/clamav/main/README.md>
- <https://raw.githubusercontent.com/Cisco-Talos/clamav/main/NEWS.md>
- <https://api.github.com/repos/Cisco-Talos/clamav/releases>
- <https://raw.githubusercontent.com/Cisco-Talos/clamav/main/etc/clamd.conf.sample>
- <https://raw.githubusercontent.com/Cisco-Talos/clamav/main/etc/freshclam.conf.sample>


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/clamav/freshclam.conf, /etc/clamav/clamd.conf
- macOS: /usr/local/etc/clamav/freshclam.conf, /usr/local/etc/clamav/clamd.conf, /opt/local/etc/freshclam.conf, /opt/local/etc/clamd.conf
- Unix: /usr/local/etc/freshclam.conf, /usr/local/etc/clamd.conf, /usr/local/etc/clamav-milter.conf
- Windows: HKEY_LOCAL_MACHINE/Software/ClamAV/ConfDir, C:\Program Files\ClamAV, C:\ClamAV
## 他のパッケージマネージャ記録

- Debian apt - clamav - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - command-line interface | https://www.clamav.net/
- Debian apt - clamav-base - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - base package | https://www.clamav.net/
- Debian apt - clamav-daemon - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-daemon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - scanner daemon | https://www.clamav.net/
- Debian apt - clamav-doc - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - documentation | https://www.clamav.net/
- Debian apt - clamav-docs - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-docs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - documentation | https://www.clamav.net/
- Debian apt - clamav-freshclam - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-freshclam from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - virus database update utility | https://www.clamav.net/
- Debian apt - clamav-milter - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-milter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - sendmail integration | https://www.clamav.net/
- Debian apt - clamav-testfiles - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamav-testfiles from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - test files | https://www.clamav.net/
- Debian apt - clamdscan - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: clamdscan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - scanner client | https://www.clamav.net/
- Debian apt - libclamav-dev - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: libclamav-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - development files | https://www.clamav.net/
- Debian apt - libclamav12 - 1.4.3+dfsg-1: normalized package name match | Debian stable package indexes: libclamav12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | anti-virus utility for Unix - library | https://www.clamav.net/
- Nix - clamav: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clamav/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - clamav - 1.0.5+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: clamav from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | anti-virus utility for Unix - command-line interface | https://www.clamav.net/
- Ubuntu apt - clamav-base - 1.0.5+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: clamav-base from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | anti-virus utility for Unix - base package | https://www.clamav.net/
- Ubuntu apt - clamav-daemon - 1.0.5+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: clamav-daemon from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | anti-virus utility for Unix - scanner daemon | https://www.clamav.net/
- Ubuntu apt - clamav-docs - 1.0.5+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: clamav-docs from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | anti-virus utility for Unix - documentation | https://www.clamav.net/


## Combined YAML source

View the package source record on GitHub. [combined/clamav.yml](https://github.com/mxcl/pkgdb/blob/main/combined/clamav.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
