i have installed ns2 on ubuntu 12.04 and there never have been any problem. Now with 13.04, it gives this message "unable to locate the package: ns2" . Whether i try it through software centre or through terminal. same message.

Please help me in this.


You need to change your server to main server in Software and updates. Then, run the following commands

sudo apt-get update
sudo apt-get install ns2 nam xgraph 

If you have Google chrome or if you have tried to install Google chrome, go to the software center->Edit->click on Software Sources
Then in the "Other Software" tab change the status of Google chrome to uncheck.
It worked for me like that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.