When I first started ns-3 (Network Simulator 3), I was in an ocean of bafflements. It took me several days to install ns-3 on Ubuntu for the first time, although I am an Ubuntu user. There is nothing wrong with Ubuntu, it is user friendly and cool as always. The main problem is the installation process of ns-3, which is, in true sense is not user friendly (at all). From my experience, I understand that it can be overwhelming for people using either ns-3 or Ubuntu or both for the first time. So this is a newbie guide to install and configure ns-3 on Ubuntu for the first time.
Step 1: Prepare the prerequisites
- First, I assume that you are running Ubuntu 16.04 operating system the latest LTS version of Ubuntu. But the process should work on other Ubuntu distributions as well.
- Second, I assume that you are using Ubuntu either Natively or using a Virtual Machine (VM) (a VM is strongly recommended if you don’t know what you are doing).
- Third, I assume that you have a working Internet connection on Ubuntu at the time of installation.