Hi Devs,
In this blog our main focus will around how to successfully install ns2 and nam on your Windows machine.
- Make sure WSL with Ubuntu distro is installed on your Windows machine. Check my WSL blog if not installed
- Open the Ubuntu command prompt.
- 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
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
- Check if both ns2 and nam is installed successfully.
Run the below command inside Ubuntu terminal.
gedit
command open a editor andnam
command open a network simulator
Thanks !! All feedbacks are appreciated.
Top comments (0)