Centos7安装wireshark-3.2.0

  1. 安装需要的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
  1. 下在安装包
wget https://1.as.dl.wireshark.org/src/wireshark-3.2.0.tar.xz
  1. 解压压缩包
tar -xf wireshark-3.2.0.tar.xz
  1. cmake
cd wireshark-3.2.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/wireshark-3.2.0 ../
  1. make
make && make install
  1. 更新配置
sudo yum update freetype-devel

你可能感兴趣的:(Centos7安装wireshark-3.2.0)