Skip to main content

Posts

Showing posts from February, 2025

How to run python files in ns3 | Python Bindings

ns3 installation with Python bindings Yes, you can easily run Python scripts of ns3 using this technique Follow the video for more instructions. Steps We are going to install ns-3.43 on this machine now. We already have Ubuntu 24.04 os  1. go to https://www.nsnam.org and download the latest ns3 software. 2. Give these commands one after the other $ sudo apt update $ sudo apt install g++ python3 cmake ninja-build git gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 tcpdump wireshark sqlite3 libsqlite3-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools openmpi-bin openmpi-common openmpi-doc libopenmpi-dev doxygen graphviz imagemagick python3-sphinx dia imagemagick texlive dvipng latexmk texlive-extra-utils texlive-latex-extra texlive-font-utils libeigen3-dev gsl-bin libgsl-dev libgslcblas0 libxml2 libxml2-dev libgtk-3-dev lxc-utils lxc-templates vtun uml-utilities ebtables bridge-utils libxml2 libxml2-dev libboost-all-dev ccache python3-...