Can I install ns2 and ns3 together in Ubuntu 16.04?


If you have a look at the installed files for each package you will see that both can happily exist on the same system with no potentially overwritten files or duplicate filenames:

1. ns2


2. ns3


And I have run a test install of both on my Xenial Xerus system:

sudo apt-get install ns2 ns3

with absolutely no installation issues...


  • @Sousou So hopefully this answer has adequately answered your issue? If so you can 'Accept' the answer by clicking on the tick or check mark near the answer. This signifies for future readers that this was the most correct answer. And have a great day :) – andrew.46 Oct 7 '16 at 21:21

You should be able to just do sudo apt-get install ns2 ns3 and have them both installed, yes.

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.