Professional Documents
Culture Documents
Steps in Installation of ns3 in Ubuntu 16.04LTS: Apt-Get Install GDB Valgrind
Steps in Installation of ns3 in Ubuntu 16.04LTS: Apt-Get Install GDB Valgrind
04LTS
The following list of packages should be accurate for Ubuntu 14.10 release; other releases or
other Debian-based systems may slightly vary.
• minimal requirements for C++ (release): This is the minimal set of packages
needed to run ns-3 from a released tarball.
apt-get install gcc g++ python
• minimal requirements for Python (release): This is the minimal set of packages
needed to work with Python bindings from a released tarball.
apt-get install gcc g++ python python-dev
• qt4 development tools (Note: qt4, not qt5) needed for NetAnim animator
apt-get install qt4-dev-tools libqt4-dev
• Running python bindings from the ns-3 development tree (ns-3-dev) requires bazaar
apt-get install bzr
and you will want to install gccxml and pygccxml as per the instructions for python bindings (or
through the bake build tool as described in the tutorial).
• Debugging:
apt-get install gdb valgrind
• GNU Scientific Library (GSL) support for more accurate WiFi error models
apt-get install gsl-bin libgsl0-dev libgsl0ldbl
The Network Simulation Cradle (nsc) requires the flex lexical analyzer and bison parser generator:
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-
missing?
The ns-3 manual and tutorial are written in reStructuredText for Sphinx (doc/tutorial,
doc/manual, doc/models), and figures typically in dia (also needs the texlive packages
above):
Note: Sphinx version >= 1.12 required for ns-3.15. To check your version, type "sphinx-build". To
fetch this package alone, outside of the Ubuntu package system, try "sudo easy_install -U Sphinx".
◦ Support for Gustavo Carneiro's ns-3-pyviz visualizer
apt-get install python-pygraphviz python-kiwi python-pygoocanvas
libgoocanvas-dev ipython
https://www.nsnam.org/releases/