Shammer's Philosophy

My private adversaria

Install Wireshark on Debian Wheezy

using package tool

  1. su -
  2. apt-get install wireshark

from source code(Development Release?)

  1. Get Wireshark tarball from Wireshark site
  2. su -
  3. apt-get update
  4. apt-get install bison
  5. apt-get install flex
  6. apt-get install libpcap-dev
  7. apt-get install libgtk-3-dev
  8. apt-get install libqtwebkit-dev
  9. tar xvzf $Wireshark_Tarball
  10. cd $Wireshark_Dir
  11. ./configure
  12. make
  13. make install

If make were not installed, execute apt-get install build-essential.
If the error like following output when launching wireshark,

wireshark: error while loading shared libraries: libwiretap.so.3: cannot open shared object file: No such file or directory

create following symbolic links.

  1. su -
  2. ln -s /usr/local/lib/libwiretap.so.3 /usr/lib/libwiretap.so.3
  3. ln -s /usr/local/lib/libwireshark.so.3 /usr/lib/libwireshark.so.3
  4. ln -s /usr/local/lib/libwsutil.so.3 /usr/lib/libwsutil.so.3