Собрать wireshark для centos 5

yum remove libpcap libpcap-devel

cd /tmp/

wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/CentOS_5/i386/glib2-2.16.6-3.7.i386.rpm

wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/centosextra/CentOS_5/i386/glib2-devel-2.16.6-3.7.i386.rpm

rpm -Uvh glib2-2.16.6-3.7.i386.rpm

rpm -Uvh glib2-devel-2.16.6-3.7.i386.rpm

wget http://www.tcpdump.org/release/libpcap-1.6.2.tar.gz

tar -xzvf libpcap-1.6.2.tar.gz

cd /tmp/libpcap-1.6.2

./configure

make install clean

ldconfig

wget https://1.eu.dl.wireshark.org/src/wireshark-1.12.1.tar.bz2

cd /tmp/wireshark-1.12.1

tar -xjvf wireshark-1.12.1.tar.bz2

./configure --disable-wireshark --with-qt=no --with-pcap

make install clean

which tshark

/usr/local/bin/tshark

Не забываем добавить в PATH