温馨提示×

dumpcap在debian何处下载

小樊
58
2026-09-09 17:19:53
栏目: 智能运维

在 Debian 系统里,dumpcap 不是单独下载的,它是 Wireshark 软件包的一部分。

你可以通过以下方式获取:

1. 使用 apt 安装(推荐)

sudo apt update
sudo apt install wireshark-common
  • dumpcap 通常位于 /usr/bin/dumpcap
  • wireshark-common 是最精简的包,只包含抓包相关组件

如果你想要完整 Wireshark:

sudo apt install wireshark

2. 确认 dumpcap 位置

安装后可用:

which dumpcap
# 或
ls -l /usr/bin/dumpcap

3. 如果需要非 root 抓包

Debian 安装时会问是否允许普通用户抓包;若没选,可手动:

sudo dpkg-reconfigure wireshark-common

然后将用户加入组:

sudo usermod -aG wireshark $USER

重新登录后即可。

4. 官方源码(不推荐普通用户)

如果你必须从源码编译: https://www.wireshark.org/download.html

但在 Debian 上 直接用 apt 是最安全、最方便的方式。

如你是指“离线 deb 包下载”,也可以告诉我,我可以给你具体链接和包名。

0 踩