Pejman Moghadam / Slackware

Slackware 13.1 - Installing wireshark (with epkg)

Public domain


lua installation

cd /usr/src
wget -c "http://www.lua.org/ftp/lua-5.1.4.tar.gz"
su - install
cd /usr/src
tar xf lua-5.1.4.tar.gz
cd lua-5.1.4
make linux 
sed -i -e 's,INSTALL_TOP= /usr/local,INSTALL_TOP= /usr/local/encap/lua-5.1.4/usr/local/,' Makefile
make install
cd /usr/local/encap/lua-5.1.4
mv usr/local/man/ usr/
mv usr/local/share/ usr/
cd /usr/local/encap/
mkencap  lua-5.1.4/
logout
cd /usr/local/encap/
epkg  lua-5.1.4

Wireshark installation

cd /usr/src
wget -c "http://media-2.cacetech.com/wireshark/src/wireshark-1.4.3.tar.bz2"
su - install
cd /usr/src
tar xf wireshark-1.4.3.tar.bz2
cd wireshark-1.4.3
./configure --prefix=/usr/ && make
make install DESTDIR=/usr/local/encap/wireshark-1.4.3
cd /usr/local/encap/wireshark-1.4.3
mv usr/share/man/ usr/
cd /usr/local/encap/
mkencap wireshark-1.4.3/
logout
cd /usr/local/encap/
epkg wireshark-1.4.3

tshark usage

tshark -i eth0 -n -c 100 -f "not ip"

BY: Pejman Moghadam
TAG: wireshark, tshark, lua, epkg
DATE: 2011-01-23 23:39:10


Pejman Moghadam / Slackware [ TXT ]