SERVFORU

How to install NS3 in Linux Mint & Ubuntu


ns-3 is a discrete-event network simulator for Internet systems, targeted primarily for research and educational use. ns-3 is free software, licensed under the GNU GPLv2 license, and is publicly available for research, development, and use. 
Take a look to how to install NS3 in ubuntu or Linux Mint 


To install NS in Linux 
 Requirements
  •   ubuntu 10.10 or higher
  •  an internet conenction
if you have both  follow the simple steps 

   1. open the Terminal
   2.First update the Ubuntu repos:
$sudo apt-get update

After this install the following packages 

$ sudo apt-get install gcc g++ python



$ sudo apt-get install gcc g++ python python-dev
$ sudo apt-get install mercurial

$ sudo apt-get install bzr


$ sudo apt-get install gdb valgrind

$ sudo apt-get install gsl-bin libgsl0-dev libgsl0ldbl


$ sudo apt-get install flex bison

$ sudo apt-get install gcc

$ sudo apt-get install g++

$ sudo apt-get install tcpdump
$ sudo apt-get install sqlite sqlite3 libsqlite3-dev


$ sudo apt-get install libxml2 libxml2-dev
$ sudo apt-get install libgtk2.0-0 libgtk2.0-dev
$ sudo apt-get install vtun lxc

$ sudo apt-get install uncrustify

$ sudo apt-get install doxygen graphviz imagemagick
$ sudo apt-get install texlive texlive-pdf texlive-latex-extra texlive generic-extra texlive-generic-recommended

$ sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev

Then make a directory 

$ mkdir ns                                                 //(you can use of different name for ns)
$ cd ns                                                     // (with this command you can enter to your directory)
$ wget https://www.nsnam.org/release/ns-allinone-3.15.tar.bz2   //(if this command doesn’t work you can download and copy it into directory)
$ tar xjf ns-allinone-3.15.tar.bz2                     //(with this command you can extract directory)
$ cd ns-allinone-3.15-RC1
$ ./build.py
$ cd ns-3.15-RC1
$ ./waf configure

$ ./waf

Simulate your networks and enjoy...........
Share this article :
 

+ comments + 1 comments

Post a Comment

 
Support : Ebin EPhrem | Ebin Ephrem | #Gabbarism
Copyright © 2011. Services | Embedded Support | Reviews | Virtual Technologys - All Rights Reserved
Template Created by ebinephrem.com Published by Ebin Ephrem
Proudly powered by Blogger