Search This Blog

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

Labels: , , , ,


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: and place it on Desktop

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


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.

Mohit P. Tahiliani


[1] ndnSIM Documentation:

Comments (4)

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.

Mohit P. Tahiliani

Can u help in implementing one vanet scheme in NS3.. I will pay u for that 63: cd: can't cd to ns-3/src/ndnSIM/ndn-cxx 64: ./waf: not found 65: ./waf: not found
sudo: ./waf: command not found 69: cd: can't cd to pybindgen 70: ./waf: not found 71: ./waf: not found
sudo: ./waf: command not found 76: cd: can't cd to ns-3 77: ./waf: not found 78: ./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...!!!