Search This Blog

Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts

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

7

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: 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

Installing ns-2.1b9a on Fedora 8 / Ubuntu 9.04

15

Labels: , , ,

Kindly Note: Before you start installing ns-2.1b9a on Fedora 8/Ubuntu 9.04 please make sure you have installed gcc-3.3 and g++-3.3.

The patch required to install ns-2.1b9a on Fedora 8/Ubuntu 9.04 is designed and is available on the following link:

ns21b9a.patch

Following are the steps to install ns-2.1b9a on Fedora 8/Ubuntu 9.04:

1. Download ns-allinone-2.1b9a-gcc32.tar.gz

2. Download above given ns21b9a.patch

3. Untar ns-allinone-2.1b9a-gcc32.tar.gz. You will get a folder named ns-allinone-2.1b9a

4. Paste ns21b9a.patch in this folder and give the following command via terminal

    patch -p1 < ns21b9a.patch

5. Then give the following command

   ./install

You are done with it!

If you encounter any problem in downloading the patch, please follow this link:

http://www.mediafire.com/?4yy7dlrgub7cj6b

Hope it helps.

Regards,
Mohit P. Tahiliani


ns2.26:installation on Fedora 8

35

Labels: , , ,

Due to new versions of gcc, ns2.26 cannot be installed directly on fedora 8.
Minor modifications in the code of ns2.26 are required.
Hence I have designed a patch that incorporates all the modifications required in ns2.26 code to be installed on fedora 8 (or other linux distributions having similar gcc version).

Following are the steps to install ns2.26 on fedora 8 (or other linux distributions having similar gcc version):

1) Download ns-allinone-2.26.tar.gz

2) Download ns226.patch (after downloading the file change its name to ns226.patch in case if the file gets downloaded by some other name).

If you encounter any problem in downloading from the above link please follow the link given below:

http://www.mediafire.com/?g9geachfm2h56l4

3) Save ns-allinone-2.26.tar.gz in any directory (folder) of your file system.

4) Open a new terminal and go to that directory.

5) Give the following command to untar ns-allinone-2.26.tar.gz
tar  -xzvf  ns-allinone-2.26.tar.gz

6) After executing the above command you will find the extracted folder named ns-allinone-2.26 in the same directory.
Put the downloaded ns226.patch file in this extracted folder.

7) Using a terminal enter in this extracted folder and give the following command
patch  -p1  -t  <  ns226.patch

8) After successfully completing the above procedure install ns2.26 by giving the following command (in same extracted folder)
./install

Installation may take several minutes !!!

Regards