在 Debian 系统里,dumpcap 不是单独下载的,它是 Wireshark 软件包的一部分。
你可以通过以下方式获取:
sudo apt update
sudo apt install wireshark-common
dumpcap 通常位于 /usr/bin/dumpcapwireshark-common 是最精简的包,只包含抓包相关组件如果你想要完整 Wireshark:
sudo apt install wireshark
安装后可用:
which dumpcap
# 或
ls -l /usr/bin/dumpcap
Debian 安装时会问是否允许普通用户抓包;若没选,可手动:
sudo dpkg-reconfigure wireshark-common
然后将用户加入组:
sudo usermod -aG wireshark $USER
重新登录后即可。
如果你必须从源码编译: https://www.wireshark.org/download.html
但在 Debian 上 直接用 apt 是最安全、最方便的方式。
如你是指“离线 deb 包下载”,也可以告诉我,我可以给你具体链接和包名。