Install Netkit-base by running the following commands:
root:netkit-base-0.16# ./configure --prefix=/usr
root:netkit-base-0.16# make -e
root:netkit-base-0.16# make install
root:netkit-base-0.16# cd etc.sample
root:netkit-base-0.16/etc.sample# cp services protocols /etc
Edit the Makefile file and edit the CFLAGS variable if you want to add compiler optimzations.
Install Net-tools by running the following commands:
root:net-tools-1.57# make
root:net-tools-1.57# make install
You might have noticed that we don't use the compiler optimizations for this package. The reason is that overriding the CFLAGS variable causes compilation problems. You would have to edit the Makefile file and add the proper values to the CFLAGS variable and then compile the package. If you want to do that it's up to you. I don't think it's worth the trouble though. The programs in this package aren't that big that optimization would have any noticable effect on the performance.