DEV Community

Harsh Kumar
Harsh Kumar

Posted on

ns2 & nam windows installation

Hi Devs,
In this blog our main focus will around how to successfully install ns2 and nam on your Windows machine.

  1. Make sure WSL with Ubuntu distro is installed on your Windows machine. Check my WSL blog if not installed
  2. Open the Ubuntu command prompt.
  3. Run Linux commands given below-:

sudo apt upgrade or sudo apt update installs recent updates and changes

sudo apt install gedit -y
sudo apt install gnome-text-editor -y
sudo apt install nautilus -y
sudo apt install ns2 -y
sudo apt install tcl -y
Enter fullscreen mode Exit fullscreen mode

Download nam package from here as it has some breakdown and error when install using sudo apt install nam
after downloading this pakage run sudo dpkg -i <package> on the ubuntu replace <package> by the path of the downloaded package if downloaded on windows add mnt/ at start like mnt/c/downloads/nam_1.15-10-ubuntu14_amd64.deb

  1. Check if both ns2 and nam is installed successfully. Run the below command inside Ubuntu terminal. gedit command open a editor and nam command open a network simulator

Thanks !! All feedbacks are appreciated.

Top comments (0)