ubuntu 安装 wireshark
时间: 2023-07-30 21:10:02 浏览: 215
在Ubuntu上安装Wireshark可以按照以下步骤进行操作:
1. 打开终端并输入以下命令以添加Wireshark的稳定版本存储库:
```
sudo add-apt-repository ppa:wireshark-dev/stable
```
2. 更新软件包列表:
```
sudo apt update
```
3. 安装Wireshark:
```
sudo apt install -y wireshark
```
4. 创建Wireshark用户组并将当前用户添加到该组中:
```
sudo groupadd wireshark
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 4755 /usr/bin/dumpcap
sudo gpasswd -a your_username wireshark
```
这样,你就成功安装并配置了Wireshark。你可以通过在终端中输入`wireshark`命令来打开Wireshark,但是请注意,一旦你使用Ctrl + C结束Wireshark,它会自动关闭。如果你想将Wireshark固定到菜单栏,你可以在Wireshark图标上单击鼠标右键,然后选择“锁定到启动器”。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [Ubuntu 安装 Wireshark](https://blog.csdn.net/bluebird_shao/article/details/126768927)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [ubuntu16 安装wireshark(抓包工具)](https://blog.csdn.net/qq_41204464/article/details/107428802)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [【ubuntu】安装wireshark](https://blog.csdn.net/weixin_43863426/article/details/113566337)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文