温馨提示×

如何卸载debian的dumpcap

小樊
47
2026-09-12 15:20:40
栏目: 智能运维

在 Debian 系统中,dumpcap 通常是 Wiresharktshark 的一部分,由 dumpcap 所属包提供。要卸载它,可以按以下步骤操作:

1. 查看 dumpcap 属于哪个包

dpkg -S dumpcap

常见结果:

  • wireshark-common
  • tshark

2. 卸载相关包(按需选择)

如果你是通过 Wireshark 安装的:

sudo apt remove wireshark-common

或只卸载命令行工具:

sudo apt remove tshark

3. 彻底卸载(可选)

sudo apt purge wireshark-common
sudo apt autoremove

4. 确认已卸载

which dumpcap

若无输出,说明已成功卸载。

如果你是在 容器或源码安装 的 dumpcap,也可以告诉我,我可以给你对应的清理方法。

0