通过软件包下载
- Windows:点击“控制面板” >“ Program Management” >“Software” >“Install” >“Check for updates” >“Check for updates installed on” >“Windows Update” >“Update updates not yet installed” >“Uninstall” >“Remove”。
- macOS:点击“App Store” >“Update” >“Update updates not yet installed”。
- Linux:使用命令行工具安装 Wireshark,
sudo apt-get install wireshark。
通过脚本下载
- 正常情况下,Wireshark 已经安装在大多数系统上,可以直接使用,如果你需要使用它,可以直接运行
wireshark。 - 如果你使用的是其他工具,
ipconfig,可以使用ipconfig -u wireshark软件包来安装 Wireshark。
通过命令行下载
- 在终端中运行
sudo apt-get install wireshark或sudo apt-get update && sudo apt-get install wireshark。
通过命令行脚本
- 可以使用命令行脚本来安装 Wireshark。
echo "安装 Wireshark" echo "准确的网络流量分析工具" echo "请按回车继续" wireshark
通过第三方工具
- 如果你使用的是 Windows,你还可以使用 Wireshark 的第三方工具来配置和管理它。
- Wireshark 的自带配置工具:你可以按照以下步骤使用 Wireshark 的配置工具来设置流量:
- 打开 Wireshark。
- 进入“Flow” 对话框。
- 在“Flow” 对话框中,点击“Flow”的下拉菜单,选择你感兴趣的流量类型。
- 然后在“Flow” 对话框中,点击“Add” 选择需要添加的流量。
- 进入“Flow” 对话框,点击“Flow”的下拉菜单,选择相应的规则,然后点击“Add”。
- 点击“Done” 保存你的配置。
- Wireshark 的自带配置工具:你可以按照以下步骤使用 Wireshark 的配置工具来设置流量:
通过在线工具
- 你也可以使用在线工具来下载和使用 Wireshark,



