在Ubuntu上从源码构建最新版wireshark
目录
Deepin 20.6同样适用
下载源码
git clone https://gitlab.com/wireshark/wireshark.git
安装依赖项
sudo apt-get install flex g++ gcc perl python3 cmake build-essential -y
执行设置脚本
cd wireshark
tools/debian-setup.sh --install-optional --install-deb-deps
安装
cd wireshark
cmake .
make
make install
启动
wireshark
此时wireshark启动成功:
参考资料
https://www.wireshark.org/docs/wsug_html_chunked/ChBuildInstallUnixBuild.html