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:
- Remove any previous libnet (sudo apt-get remove libnet1).
- Download the source for libnet-1.0.2a (Google it out).
- Install gcc-4.1 (sudo apt-get install gcc-4.1).
- Change the CC line in the Makefile of libnet-1.0.2a to be “CC = gcc-4.1” and compile.
- Download nemesis-1.4 source code (Google it out).
- Perform “./configure –with-libnet-includes=/usr/include/ –with-libnet-libraries=/usr/lib/ –enable-debug” and compile.