Do you dare to compile ?
January, 26 2011. 3 minutes read.
Wireshark is wellknown packet analyzer, so if you wanna mess arround to your neighboorhood, install this. But today i not show how to used it (maybe next time) but i will show ho o install it in *HARD” way, how ? that we compile it self.
Step 1: Download the source from here :
http://media-2.cacetech.com/wireshark/src/wireshark-1.4.3.tar.bz2
Step 2: Go to directory that that source exist.
in my case is in /home/myusername/wireshark/
so you must do :
cd home/myusername/wireshark/
Step 3: change to root please:
$ sudo bash
it will be asking for your password, so enter your password
the the terminal goes by :
root@my-desktop:~/myusername/wireshark#
that sign # mean you now on root.
Step 4 : Extract that you downladed :
#tar -xvf wireshark-1.4.3.tar.bz2
Step 4: Before we compile, we need additional packet, so just type this :
#aptitude install autoconf libgtk2.0-dev libglib2.0-dev libgeoip-dev libpcre3-dev libpcap0.8-dev libtool byacc flex subversion
Step 5: Now, time to compiling the source code:
#cd wireshark-1.4.3
#./autogen.sh
#./configure
#make
This will take some time, but after eventually complete. Type:
#make install
To use wireshark, use :
sh wireshark
Hope it give a damn clue ….
inspired from :
http://bredsaal.dk/compiling-wireshark-from-source-on-ubuntu-9-10
Originally published at: https://xunilresu.wordpress.com/2011/01/26/do-you-dare-to-compile/