Nemesis is a command-line network packet crafting and injection utility. Ubuntu 10.04 does not provide easy installation of the package through apt-get command. Here are the instructions to successfully install Nemesis on Ubuntu 10.04:
1. Remove any previous libnet (sudo apt-get remove libnet1).
2. Download the source for libnet-1.0.2a (Google it out).
3. Install gcc-4.1 (sudo apt-get install gcc-4.1).
4. Change the CC line in the Makefile of libnet-1.0.2a to be "CC = gcc-4.1" and compile.
5. Download nemesis-1.4 source code (Google it out).
6. Perform "./configure --with-libnet-includes=/usr/include/ --with-libnet-libraries=/usr/lib/ --enable-debug" and compile.
Installing Nemesis on UNIX-like systems is a straightforward process that
closely resembles