1. 安裝的基本流程
參考wireshark官網(wǎng)上的User’s Guide
其實(shí)也不難~
解壓后cd wireshark-1.99.2
$ ./configure
$ make
$ sudo make install
but,./configure
這步出了各種問題TAT
具體見2吧~
p.s. make這一步時(shí)間炒雞炒雞炒雞長砰苍!耐心等著吧~
安裝結(jié)束之后在wireshark-1.99.2目錄下sudo wireshark
就可以運(yùn)行了~
2. ./configure中的問題
user's guide 里面說
The standard problems are that you do not have a required development package on your system or that the development package isn’t new enough. Note that installing a library package isn’t enough. You need to install its development package as well. configure will also fail if you do not have libpcap (at least the required include files) on your system.
所以就踏踏實(shí)實(shí)根據(jù)錯(cuò)誤提示把該裝的都裝好吧~
裝完再./configure
2.1 Qt is not available
所以就安裝QT吧~$ sudo apt-get install libqt4-dev
2.2 GTK+ 3 is not available
安裝GTK+3 $ sudo apt-get install libgtk-3-dev
或者根據(jù)Wireshark mailing list archives所寫的也可以用gtk2 $ ./configure --with-gtk2
陆淀,不過這個(gè)并沒有親測~
2.3 缺少libpcap
在http://www.tcpdump.org/下載libpcap高氮,解壓鸭轮。
$ ./configure
$ make
$ sudo make install