From Zolertia

Jump to: navigation, search

Compiling and installing wireshark from sources

First install a wide set of libraries to make the most of Wireshark posibilities (including 6loWPAN and IPv6):

$ sudo apt-get install autogen automake1.9 libtool
$ sudo apt-get install bison flex libgtkmm-2.4-dev libpcap0.8-dev 
$ sudo apt-get install liblua5.1-dev libpcre3-dev libc-ares-dev libadns1-dev libsmi2-dev libgnutls-dev libgeoip-dev libportaudio-dev libcap2-dev

Now download Wireshark's source code, you can download either a stable version or the developer one. In this example we downloaded the 1.4.0 release candidate 1, but keep in mind that newer versions will surely support more protocols and will include fixes of past bugs.

Wireshark Official download page

$ cd wireshark-1.4.0rc1
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

This processes will take a LONG time, afterwards run:

$ sudo ldconfig
  • Common issues: if you cannot see any interfaces, surely you will need to execute wireshark as superuser, or modify the executable's permissions.
Personal tools
MansOS Support
General guides and apps