Posts

Showing posts from January, 2015

NS3 installation in Linux Mint 17.1

Image
This post shows you how to install ns3 (ns-3.21) in Linux Mint 17.1

OS Used: Linux Mint 17.1 or Ubuntu 14.04
NS3 verion: 3.21


Download the software ns3 from http://www.nsnam.orgAssuming you have done the linux installation just now, execute the following commands one by one$] sudo apt-get update$] sudo apt-get install build-essential autoconf automake libxmu-dev cvs git cmake bzr mercurial python-pygoocanvas python-pygraphviz p7zip-full NetAnim Once the above softwares are installed, execute these commands $] tar jxvf ns-allinone-3.21.tar.bz2  $] cd ns-allinone-3.21/ $] ./build.py --enable-examples --enable-tests and this will take more than 10 minutes to install everything, till that time wait. 
Once the installation is done, open an example and check whether its working or not

$] cd ns-allinone-3.21/ns-3.21 /
$] ./waf --run hello-simulator
The output should be displayed as hello-simulator, if this is not working, then ns3 was not installed successfully.
Here is a video that showcases the…