Tutorial:24 NS3 Installation on Ubuntu 14.04 ( Step By Step ) HD
INSTALLING NS3 IN UBUNTU 12.10 AND ABOVE ns-3 is a network simulator for Internet systems, targeted primarily for research and educational use.You can install ns3 on any linux platform like ubuntu. Step-1 Open your terminal(ctrl+alt+T). To install prerequisites- sudo apt-get install gcc g++ python python-dev mercurial bzr gdb valgrind gsl-bin libgsl0-dev libgsl0ldbl flex bison tcpdump sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev uncrustify doxygen graphviz imagemagick texlive texlive-latex-extra texlive-generic-extra texlive-generic-recommended texinfo dia texlive texlive-latex-extra texlive-extra-utils texlive-generic-recommended texi2html python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev python-pygccxml Step-2 Downloading NS-3 Make new directory and download package from internet and unzip it. cd mkdir ns3 cd ns3 wget http://www.nsnam.org/release/ns-allinone-3.19.tar.bz2 tar xjf ns-allinone-3.19.tar.bz2 cd ns-allinone-3.19/ ls Step-3 Go to ns-allin one folder and there you can find build.py along with other files. Then to build the examples in ns-3 run ./build.py --enable-examples --enable-tests If the build is successful then it will give output "Build finished successfully". Step-4 Go to ns-3.19 folder and do ls . you will find waf tool there Now run the following command to configure with waf(build tool) ./waf -d debug --enable-examples --enable-tests configure To build with waf(optional) Step-5 To test everything allright ./test.py If the tests are ok the installation is done. Connect with me at http://www.nipunharitash.com/technical
Похожие видео
Показать еще