wireshark版本说明
参考:
- https://gitlab.com/wireshark/wireshark/-/wikis/Development/ReleaseNumbers
- https://wiki.wireshark.org/Development/ReleaseNumbers
Wireshark发布版本号码为三个数字:Major(主版本).Minor(小版本).Maintenance(维护周期)
- Major主版本只有当程序发生重大变化时才会增加:
- 将Qt更改为主要GUI工具包就是这样的变化,导致将数字设置为2
- 更改为3是在GTK+ GUI工具包被丢弃和Npcap作为Windows捕获库推出时发生的
- Minor小版本号基本上遵循偶数/奇数方案:
- 对于每个官方版本,分配一个偶数,并分拆代码进行维护
- 开发继续在下一个更高的奇数上进行。请注意,此开发包是一个移动目标,没有其承诺ID就毫无意义
- 维护周期
- 维护版本号为您提供该版本所处的维护阶段
- 它从0开始,在每次维护发布时递增
安装步骤
参考https://www.jianshu.com/p/a3eca201fbc0
1. 安装依赖包
yum -y install libgcrypt-devel glib2-devel qt-devel qt5-qtbase-devel qt5-linguist qt5-qtmultimedia-devel qt5-qtsvg-devel libcap-devel libcap-ng-devel gnutls-devel krb5-devel libxml2-devel lua-devel lz4-devel snappy-devel spandsp-devel libssh2-devel bcg729-devel libmaxminddb-devel sbc-devel libsmi-devel libnl3-devel libnghttp2-devel libssh-devel libpcap-devel c-ares-devel redhat-rpm-config rpm-build gtk+-devel gtk3-devel desktop-file-utils portaudio-devel rubygem-asciidoctor docbook5-style-xsl docbook-style-xsl systemd-devel python34 cmake3 git gcc gcc-c++ flex bison doxygen gettext-devel libxslt cmake
2. 下载源码并解压
cd /usr/local/src
wget https://1.as.dl.wireshark.org/src/wireshark-3.4.8.tar.xz
tar -Jxvf wireshark-3.4.8.tar.xz
3. 创建临时编译目录并进入
mkdir /tmp/wireshark-3.0-build
cd /tmp/wireshark-3.0-build
# 说明:目录及文件夹名称可以自定义命名
4. 编译并安装
cmake3 -LH /usr/local/src/wireshark-3.4.8
make -j4
make install
依赖的yum源
Base.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/os/$basearch/
enabled=1
gpgcheck=0
[updates]
name=CentOS-$releasever - Updates
baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/updates/$basearch/
enabled=1
gpgcheck=0
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/extras/$basearch/
enabled=1
gpgcheck=0
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/centosplus/$basearch/
enabled=1
gpgcheck=0
Epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://mirrors.ustc.edu.cn/epel/7/$basearch
enabled=1
gpgcheck=0
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=http://mirrors.ustc.edu.cn/epel/7/$basearch/debug
enabled=1
gpgcheck=0
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl=http://mirrors.ustc.edu.cn/epel/7/SRPMS
enabled=1
gpgcheck=0
[epel-testing]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
baseurl=http://mirrors.ustc.edu.cn/epel/testing/7/$basearch
enabled=1
gpgcheck=0
[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug
baseurl=http://mirrors.ustc.edu.cn/epel/testing/7/$basearch/debug
enabled=1
gpgcheck=0
[epel-testing-source]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source
baseurl=http://mirrors.ustc.edu.cn/epel/testing/7/SRPMS
enabled=1
gpgcheck=0