I noticed that many guys here like deb package due to easier to install, while they need to give it some patch.
This is an simply howto apply your own patch to ns-2, and build yourselves deb package. 1. apt-get build-dep ns2 apt-get install git-buildpackage devscripts 2. git clone git://git.debian.org/git/pkg-netsim/ns2.git 3. put your own patch to debian/patches/ and edit debian/patches/series to add you own patch 4. git-buildpackage then you should get your own deb packages. dpkg -i to install them -- YunQiang Su