Ubuntu 16.04下安装网络流量分析工具 Wireshark

本文链接地址:https://www.linuxidc.com/Linux/2016-08/134526.htm 切勿用商业用途

sudo apt-add-repository ppa:wireshark-dev/stable

sudo apt-get update

Ubuntu 16.04下安装网络流量分析工具 Wireshark

sudo apt-get install wireshark

Ubuntu 16.04下安装网络流量分析工具 Wireshark

sudo dpkg-reconfigure wireshark-common

Ubuntu 16.04下安装网络流量分析工具 Wireshark

中间要设定,见下图:

Ubuntu 16.04下安装网络流量分析工具 Wireshark

这样就安装好了。在Ubuntu下使用Wireshark也是很有必要的,虽然我们可以使用tcpdump等工具。

开启终端,输入 sudo wireshark  出现以下错误时

错误如下:

要对其进行修改,终端运行

sudo gedit /usr/share/wireshark/init.lua

倒数第二行原来为:dofile(DATA_DIR.."console.lua")

改为--dofile(DATA_DIR.."console.lua")

原文地址:https://www.cnblogs.com/w-xibao/p/8532007.html