本文连接地址:https://www.linuxidc.com/Linux/2016-08/134526.htm 切勿用商业用途linux
sudo apt-add-repository ppa:wireshark-dev/stable网络
sudo apt-get updatetcp
sudo apt-get install wireshark工具
sudo dpkg-reconfigure wireshark-commonlua
中间要设定,见下图:spa
这样就安装好了。在Ubuntu下使用Wireshark也是颇有必要的,虽然咱们可使用tcpdump等工具。htm
开启终端,输入 sudo wireshark 出现如下错误时blog
错误以下:get
要对其进行修改,终端运行it
sudo gedit /usr/share/wireshark/init.lua
倒数第二行原来为:dofile(DATA_DIR.."console.lua")
改成--dofile(DATA_DIR.."console.lua")