วันศุกร์ที่ 21 ตุลาคม พ.ศ. 2559

ns3.23 installation in ubuntu 14.04 procedure

NS 3 installation

step 1 : Download ns-allineone3.23
click here

step 2 copy ns-allineone3.23 at home directory

step 3: extract it by using command or (right click  & with extract here)
tar xjf ns-allinone-3.23.tar.bz2

step 4 step 2 go to terminal install following library's(copy below and past at terminal)

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 5 goto ns-allinone-3.23
         $ cd ns-allinone-3.23
  step 6: $ls

step 7 $./build.py --enable-examples --enable-tests
If the build is successful then it will give output
 "Build finished successfully"

step 8 :Now run the following command to configure with waf(build tool)
(go to ~ns 3.23 directory past given command at terminal)(cd ns-3.23 for change directory) 
 $ ./waf -d debug --enable-examples --enable-tests configure
To build with waf(optional)

Step 9 ./waf

step 10 :To test everything allright

step 10 ./test.py



info: http://pothalaiahs.blogspot.com/2015/05/ns323-installation-in-ubuntu-1404.html