- 安装需要的yum包
sudo yum install -y gcc gcc-c++ bison flex libpcap-devel gtk3-devel rpm-build libtool c-ares-devel desktop-file-utils qt-devel qt5-qtbase-devel qt5-qttools-devel qt5-qtmultimedia-devel qt5-linguist libgcrypt-devel
- 下在安装包
wget https://1.as.dl.wireshark.org/src/wireshark-3.2.0.tar.xz
- 解压压缩包
tar -xf wireshark-3.2.0.tar.xz
- cmake
cd wireshark-3.2.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/wireshark-3.2.0 ../
- make
make && make install
- 更新配置
sudo yum update freetype-devel
网友评论