Thursday, November 26, 2020

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

No comments:

Post a Comment