Install Wireshark Centos


This is here because it still is not finished, but it is getting there

There is a post in Survival guides on how to install Wireshark on Ubuntu and is very much a flippant post. Here is how you do it from the source code as is sometime best.

Because this is from source we need the GCC libs and make. There are some packages that are required to compile the source also

I am installing this on Centos 5.5 updated with yum

yum install gcc gcc-c++ make bison flex libtiff-devel libjpeg-devel libcap-devel libpcap-devel libtiff-devel glib-devel

 

I got an issue when trying to install GTK+ as the server already had glib2-devel installed, if you get a glib-2 error then you will need to

yum erase glib2-devel

and then reinstall glib from the source again

NOTE yum grouplist – displays the lists of installations based on how the distribution is set-up

yum groupinstall “X Software Development”

export PKG_CONFIG_PATH=/usr/lib:/usr/local/lib/pkgconfig

cd ~

mkdir software

cd software

wget ftp://sourceware.org/pub/libffi/libffi-3.0.10.tar.gz

tar xzvf libffi-3.0.10.tar.gz

cd libffi-3.0.10

./configure

make

make install

cd ..

wget http://www.python.org/ftp/python/2.5.6/Python-2.5.6.tgz

tar xzvf Python-2.5.6.tgz

cd Python-2.5.6

./configure

make

make install

cd ..

I would recommend a reboot here especially if you un-installed the glib2-devel

wget http://ftp.gnome.org/pub/gnome/sources/glib/2.4/glib-2.4.8.tar.gz

tar xzvf glib-2.4.8.tar.gz

cd glib-2.4.8

./configure

make

make install

You can yum Pango but I got version 1 and the docs say install 1.2 is best, so install from source

cd ..

wget http://ftp.gnome.org/pub/GNOME/sources/pango/1.20/pango-1.20.5.tar.gz

tar xzvf pango-1.20.5.tar.gz

cd pango-1.20.5

./configure

make

make install

cd ..

For the next bit you need to unzip a .xz file. You need the zx package to do this

wget http://tukaani.org/xz/xz-5.0.3.tar.gz

tar xzvf xz-5.0.3.tar.gz

cd xz-5.0.3

./configure

make

make install

 cd ..

 

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib

ldconfig

wget http://ftp.gnome.org/pub/gnome/sources/atk/2.4/atk-2.4.0.tar.xz

 xz -d atk-2.4.0.tar.xz

tar xvf atk-2.4.0.tar

cd  atk-2.4.0

./configure

make

make install

cd ..

wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.4/gtk+-2.4.14.tar.gz

tar xzvf gtk+-2.4.14.tar.gz

cd gtk+-2.4.14

./configure

make

make install

cd ..

wget http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.6.6.tar.bz2

bunzip2 -d wireshark-1.6.6.tar.bz2

tar xvf wireshark-1.6.6.tar

cd wireshark-1.6.6

 ./configure

make

make install

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s