本文連接地址: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")