Wednesday, February 04, 2009

Ubuntu: Netdude Installation Revisit

Many people have urged me to update my old Netdude installation guide, I don't know what went wrong for them but here's how I get Netdude 0.5 installed on Ubuntu 8.04.

Make sure you have debian packages that I mentioned in old post installed properly via apt-get, now download Netdude 0.5.0, libnetdude 0.11 and libpcapav 0.8 from here.

The sequence of installation is libpcapav -> libnetdude -> Netdude.

To install libpcapav 0.8 -

shell>tar xvzf libpcapav-0.8.tar.gz

shell>cd libpcapav-0.8

shell>./configure --prefix=/usr/local/stow/libpcapav-0.8

shell>make

shell>sudo make install

shell>cd /usr/local/stow

shell>sudo stow libpcapav-0.8

To install libnetdude 0.11 -

shell>tar xvzf libnetdude-0.11.tar.gz

shell>cd libnetdude-0.11

shell>./configure --prefix=/usr/local/stow/libnetdude-0.11

shell>make

shell>sudo make install

shell>cd /usr/local/stow

shell>sudo stow libnetdude-0.11

To install netdude 0.5.0 -

shell>export LDFLAGS=-L/usr/local/lib

shell>tar xvzf netdude-0.5.0.tar.gz

shell>cd netdude-0.5.0

shell>./configure --prefix=/usr/local/stow/netdude-0.5.0

shell>make

shell>sudo make install

shell>cd /usr/local/stow

shell>sudo stow netdude-0.5.0

Now you can run netdude and check out its version -

shell>netdude --version
0.5.0

The reason why I like to use stow to manage my software installation is that I can install multiple version of netdude in /usr/local/stow first, and choose which to use by stowing and unstowing(stow -D) them.

There you go, it should be flawless unless my memory sux(though I'm).

Enjoy (;])

5 comments:

Anonymous said...

Thanks a lot. It's working for me know.

Anonymous said...

netdude is also in the ubuntu repos

Anonymous said...
This comment has been removed by a blog administrator.
glennzw said...

As a bit of extra info, if you want to install the Essentials Pack of plugins from http://netdude.sourceforge.net/plugins-libnetdude.html you'll need to copy the file ltdl.h from "/netdude-0.5.0/libltdl/ltdl.h" to "/usr/local/stow/libnetdude-0.11/include/libnetdude/0.11"

Source seems to be a bit binkered.

Anonymous said...

hi, I am installing the netdude on my ubuntu9.04, and I ran into the problem of the
debug.Tpo -c -o nd_debug.o nd_debug.c
In file included from nd_debug.c:29:
./nd.h:32:19: error: libnd.h: No such file or directory
make[2]: *** [nd_debug.o] Error 1
make[2]: Leaving directory `/home/gzou/netdude-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gzou/netdude-0.5.0'
make: *** [all] Error 2

thank you for your advice in advance..