在 Debian 系统中,dumpcap 通常是 Wireshark 或 tshark 的一部分,由 dumpcap 所属包提供。要卸载它,可以按以下步骤操作:
dpkg -S dumpcap
常见结果:
wireshark-commontshark如果你是通过 Wireshark 安装的:
sudo apt remove wireshark-common
或只卸载命令行工具:
sudo apt remove tshark
sudo apt purge wireshark-common
sudo apt autoremove
which dumpcap
若无输出,说明已成功卸载。
如果你是在 容器或源码安装 的 dumpcap,也可以告诉我,我可以给你对应的清理方法。