DEV Community

Harsh Kumar
Harsh Kumar

Posted on

5

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more