卸载老版本
sudo apt remove wireshark
安装编译依赖环境
apt install qttools5-dev qttools5-dev-tools libqt5svg5-dev qtmultimedia5-dev build-essential automake autoconf libgtk2.0-dev libglib2.0-dev flex bison libpcap-dev libgcrypt20-dev cmake -y
下载源码包
wget https://1.as.dl.wireshark.org/src/wireshark-3.2.0.tar.xz
解压
tar Jxf wireshark-3.2.0.tar.xz
新建build目录
mkdir build
cd build
cmake ../wireshark-3.2.0
make
make install
参考:
#https://kifarunix.com/install-latest-wireshark-on-ubuntu-18-04/