温馨提示×

dumpcap兼容debian哪些版

小樊
34
2026-09-09 17:24:54
栏目: 智能运维

dumpcapWireshark 套件中的命令行抓包工具,通常随 wireshark-commontshark 包提供。在 Debian 中,只要该版本仓库里包含 Wireshark / tshark,就可以使用 dumpcap

官方支持的 Debian 版本

目前(2024–2025)Debian 官方仓库中提供 dumpcap 的主要版本包括:

  • Debian 10(buster)
  • Debian 11(bullseye)
  • Debian 12(bookworm)
  • Debian 13(trixie,测试/滚动中)
  • Debian sid(不稳定版)

说明:buster 已进入 LTS,仍可通过安全/LTS 源安装旧版 Wireshark。

大致对应软件版本

  • Debian 10:Wireshark 2.6 / 3.0 左右
  • Debian 11:Wireshark 3.4
  • Debian 12:Wireshark 4.0
  • Debian 13/sid:Wireshark 4.2+

安装方式

sudo apt update
sudo apt install tshark   # 包含 dumpcap
# 或
sudo apt install wireshark-common

使用注意

  • dumpcap 抓包通常需要 captures 权限或 sudo
  • Debian 下可用:
    sudo dpkg-reconfigure wireshark-common
    
    允许 wireshark 组抓包

非官方/旧版本

  • Debian 9(stretch)及更早也可装,但已无官方支持
  • Ubuntu(基于 Debian)同样兼容对应版本

如果你有具体 Debian 版本号内核要求,我可以帮你确认更精确的兼容性。

0