Method 2 - Lazy-bones-friendly, Ubuntu-friendly hyper-installation
Posted on April 11th, 2009 by lukost
There is a software that lets you perform the steps described in previous section so that they generate a deb file. The generated package is not only created but also automagically installed. The software name is: checkinstall.
You have to get it first:
$sudo apt-get install checkinstall
The usage is trivial - checkinstall creates a sandbox for the build process, grabs the generated binaries and creates a deb package. What you need to do is to call it before make install. So the last otcl, tclcl and ns build steps from method 1 should look like:
$sudo check install make install
If you want to install ns-2 system-wide, of course.