# daq を Homebrew, apk, dnf, MacPorts, apt でインストール

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

## インストール

```sh
sudo av install brew:daq
```

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

### macOS

- Homebrew (100%):

```sh
brew install daq
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install daq
```

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

### Linux

- apk (92%):

```sh
sudo apk add daq
```

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

- dnf (92%):

```sh
sudo dnf install daq
```

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

- Ubuntu apt (92%):

```sh
sudo apt install libdaq-dev
```

  証拠: Ubuntu 24.04 LTS package indexes: libdaq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## パッケージ情報

- **パッケージキー:** brew:daq
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.0.27
- **ソース概要:** Network intrusion prevention and detection system
- **ホームページ:** <https://www.snort.org/>
- **リポジトリ:** <https://github.com/snort3/libdaq>
- **最終更新:** 2026-06-27T20:02:12-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- daqtest (エイリアス)
- daqtest-static (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

LibDAQ is Snort's Data Acquisition library, the packet I/O abstraction layer that lets Snort and related packet-processing tools talk to pcap files, live interfaces, inline packet paths, and platform-specific capture back ends.

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

Snort documentation says Snort 2.9 introduced DAQ to replace direct libpcap calls with an abstraction layer. The Snort 3 LibDAQ repository continues that idea with base modules and wrapper modules that compose into DAQ instances.

### 採用の歴史

LibDAQ is packaged separately because Snort users often need to build or install it before Snort itself, choose module directories, and line up the correct Snort 2 or Snort 3 DAQ version on machines where both generations coexist.

### 使われ方

In practice, users install LibDAQ, point Snort at the module directory when needed, list available modules with snort --daq-list, and then run Snort in passive, inline, or pcap-readback modes depending on the selected DAQ module.

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

LibDAQ is a package-manager boundary object: it is not the IDS itself, but versioning, module paths, kernel/network dependencies, and build options can decide whether Snort can capture packets at all.

### タイムライン

- 2010: Snort 2.9 documentation introduced DAQ as a replacement for direct libpcap calls.
- 2019: Early Snort 3 LibDAQ issue history shows separate packaging and configure/build questions.
- 2021: LibDAQ 3.0.x changelog entries document Snort 3-era module and API evolution.

### Related projects

- LibDAQ is closely tied to Snort 2, Snort 3, libpcap, Linux AF_PACKET, netfilter queue, netmap, and other packet acquisition paths used by intrusion detection and prevention deployments.

### ソース

- <https://www.snort.org/faq/readme-daq>
- <https://docs.snort.org/start/installation>
- <https://docs.snort.org/start/inspection>
- <https://github.com/snort3/libdaq>
- <https://github.com/snort3/libdaq/blob/master/ChangeLog.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Ubuntu apt - libdaq-dev - 2.0.7-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libdaq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Data Acquisition library for packet I/O - development files | https://www.snort.org/downloads/
- Ubuntu apt - libdaq2t64 - 2.0.7-5.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libdaq2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Data Acquisition library for packet I/O - shared library | https://www.snort.org/downloads/
- apk - daq - 3.0.19-r0: normalized package name match | Alpine Linux edge package indexes: daq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Data Acquisition library - packet I/O library | https://www.snort.org/
- apk - daq-dev - 3.0.19-r0: normalized package name match | Alpine Linux edge package indexes: daq-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Data Acquisition library - packet I/O library (development files) | https://www.snort.org/
- apk - daq-static - 3.0.19-r0: normalized package name match | Alpine Linux edge package indexes: daq-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Data Acquisition library - packet I/O library (static library) | https://www.snort.org/
- dnf - daq - 2.0.7-12.fc45: normalized package name match | Fedora Rawhide package metadata: daq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Data Acquisition Library | https://www.snort.org
- dnf - daq-devel - 2.0.7-12.fc45: normalized package name match | Fedora Rawhide package metadata: daq-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development libraries and headers for daq | https://www.snort.org
- dnf - daq-modules - 2.0.7-12.fc45: normalized package name match | Fedora Rawhide package metadata: daq-modules from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dynamic DAQ modules | https://www.snort.org
- MacPorts - daq: normalized package name match | MacPorts ports tree: net/daq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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