编译环境:
Ubuntu 12.04 LTS
Wireshark 1.10.5 (Stable Release)
第一步:获取源码
官方网站(需要翻墙):http://www.wireshark.org/download.html
第二步:安装软件依赖
$ sudo apt-get install flex bison libpcap-dev
其中 flex 和 bison 是 ubuntu 下 lex 和 yacc 的替代品,直接 configure 只会提示需要安装 lex 和 yacc。
第三步:编译Wireshark本体
$ ./configure
$ make
$ sudo make install
</