STEP1: 安装OS
STEP2: 安装桌面环境
$ sudo apt-get update && sudo apt-get install xinit lxde virtualbox-guest-dkms
STEP3: 安装开发环境
sudo apt-get build-dep wireshark
sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev
STEP4: Clone源代码
sudo apt-get install git
git clone https://code.wireshark.org/review/wireshark
STEP5: 编译
./autogen.sh
./configure [options]
make
如果出现 sudo apt-get build-dep wireshark 安装时提示:
E: You must put some 'source' URIs in your sources.list
可以在 "Ubuntu Software" 中勾选 "Source code":