Install ns-3.32 on Ubuntu 20.04

 


  1. $ sudo apt-get update

  2. $ sudo apt-get upgrade

  3. $ sudo add-apt-repository ppa:rock-core/qt4

  4. $ sudo apt update

  5. $ sudo apt upgrade

  6. $ sudo apt-get install gcc g++ python python-dev libgtk-3-dev wireshark gnuplot

  7. $ sudo apt install qt4-dev-tools libqt4-dev

  8. $ sudo apt install libqtcore4 libqtgui4

  9. $ sudo apt install doxygen valgrind sqlite3

  10. $ sudo apt-get install libgsl-dev

  11. $ sudo apt-get install pkg-config

  12. $ sudo apt-get install graphviz

  13. $ sudo apt-get install libgcrypt20-dev

  14. $ sudo apt-get install lldpd snmp

  15. $ sudo apt-get install dpdk-dev libdpdk-dev dpdk

  16. $ sudo apt-get install castxml

  17. $ sudo apt-get install mpi

  18. $ pip3 install pygccxml

  19. $ pip3 install graphviz

  20. $ pip3 install kiwi

  21. download https://www.nsnam.org/releases/ns-3-32/

  22. $ tar xjf ns-allinone-3.32.tar.bz2

  23. $ cd ns-allinone-3.32

  24. $ cd ns-3.32

  25. $ export CPPFLAGS="-Wno-error"

  26. $ ./waf configure --enable-examples --enable-tests

  27. $ ./waf build

This is a step by step recipe for installing ns-3.32, the network simulator, on Ubuntu 20.04, including the compiler, Python, and supporting packages it needs to build.

Pinning a specific ns-3 version and OS makes results reproducible, which matters for research. Newer ns-3 releases change some dependencies, so follow the notes that match your version.

Comments

Popular posts from this blog

[Solved] Error: No such keg: /usr/local/Cellar/gcc

[How To] Unfollow Non-followers on Instagram