Installing NetAnim software for NS3 in Ubuntu 14.04

This post will tell you the installation instructions for NetAnim Software in Ubuntu.
NS3 is a discrete event simulator similar to ns2 and both vary depends on the languages in which they were used.
NS3 uses C++ with optional Python bindings, whereas ns2 uses OTCL with C++.
The ns2 comes with a default network animator called nam and it will be there in the allinone package of ns2.  But ns3 does not have any default animator, but there is a support from the NetAnim.

NetAnim is a software that process the xml files for graphical output which are generated through ns3. 

Method 1:
NetAnim can be downloaded from the URL

Method 2:
However, ubuntu or debian or Linux Mint solves this problem through apt-get itself.


  • NS3 compiled (or installed) 
  • OS Used: Ubuntu 14.04 64 bit
  • NS3 Version (ns-3.20)

pradeepkumar@pradeepkumar~$ sudo apt-get install NetAnim 
The above command is case sensitive (NetAnim)

To run once its installed
pradeepkumar@pradeepkumar:~$ NetAnim file.xml
if you already has a file.xml. 

Here are the screenshots 
NetAnim in Ubuntu 14.04

NetAnim in Ubuntu 14.04

T S Pradeep Kumar

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files


nam installation - Segmentation Fault (Solved)