Install Netkit-base by running the following commands:
./configure &&
make &&
make install &&
cd etc.sample &&
cp services protocols /etc
There are other files in the etc.sample directory which might be of interest to you.
Edit the Makefile file and edit the CFLAGS variable if you want to add compiler optimzations.
Install Net-tools by running the following commands:
make &&
make install