Search This Blog

[ns-3] Installing ndnSIM on Ubuntu: One Step Procedure

Labels: , , , ,

Reactions: 

ndnSIM is "ns-3 based Named Data Networking Simulator" [1]. This post provides a "shell script" that automates the installation of ndnSIM on Ubuntu. It has been tested on Ubuntu 14.04, 15.04, 16.04 and 17.04.

Note 1: This post is updated when a new version of ndnSIM or a new version of Ubuntu is released.
Note 2: You must be connected to Internet while executing the shell script.

Contributed by: Kiran Ramesh, Karthik S and Ayush Agarwal, Wireless Information Networking Group (WiNG), NITK Surathkal.

Updated by: Viyom Mittal and Vivek Jain, WiNG, NITK Surathkal.

Steps to install ndnSIM:

1. Download the shell script: ndnSIM-install.sh and place it on Desktop

2. Go to Desktop via terminal and give the following command:

sh ndnSIM-install.sh

3. Give your system password, when asked.

You are done with it!

Verifying the installation of ndnSIM:

1. Go ~/Desktop/ndnSIM/ns-3 and give the following command:

./waf --run=ndn-simple

If you see " 'build' finished successfully " message, ndnSIM is installed correctly.

Hope it helps.

Regards,
Mohit P. Tahiliani

References:

[1] ndnSIM Documentation: http://ndnsim.net/2.3/getting-started.html

Comments (4)

Hi,
I'm glad to finally found a post about this easy installation as I have been trying hard to get over with the installation but every time I tried a new error would popup so thanks to you for posting it.

I have a question. How much of the processing power and RAM would it need to work smoothly without any hurdles.

@Babar - I am glad to know that the script was useful to you.

Any typical machine's configuration (i3 processor, 1 or 2 GB RAM) is fine for its smooth functioning. I recommend not to use VMs.

Hope it helps.

Regards,
Mohit P. Tahiliani

Can u help in implementing one vanet scheme in NS3.. I will pay u for that

ndnSIM-install.sh: 63: cd: can't cd to ns-3/src/ndnSIM/ndn-cxx
ndnSIM-install.sh: 64: ndnSIM-install.sh: ./waf: not found
ndnSIM-install.sh: 65: ndnSIM-install.sh: ./waf: not found
sudo: ./waf: command not found
ndnSIM-install.sh: 69: cd: can't cd to pybindgen
ndnSIM-install.sh: 70: ndnSIM-install.sh: ./waf: not found
ndnSIM-install.sh: 71: ndnSIM-install.sh: ./waf: not found
sudo: ./waf: command not found
ndnSIM-install.sh: 76: cd: can't cd to ns-3
ndnSIM-install.sh: 77: ndnSIM-install.sh: ./waf: not found
ndnSIM-install.sh: 78: ndnSIM-install.sh: ./waf: not found
sudo: ./waf: command not found

I tried to install in ubuntu16.04 ..It comes like above..could you please help me??

Guest Book...!!!