meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| network:sim:ns-3 [2026/07/01 09:41] – created niziak | network:sim:ns-3 [2026/07/01 12:12] (current) – niziak | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ./ | ./ | ||
| ./ns3 run aloha-throughput | ./ns3 run aloha-throughput | ||
| + | </ | ||
| + | |||
| + | |||
| + | Python binding and visualiser | ||
| + | <code bash> | ||
| + | sudo apt install python3-pygraphviz python3-dev cmake g++ ninja-build graphviz libgraphviz-dev pkg-config gir1.2-goocanvas-2.0 | ||
| + | |||
| + | # in ns-3-dev folder create venv: | ||
| + | python3 -m venv venv | ||
| + | source venv/ | ||
| + | pip install --upgrade pip | ||
| + | pip install cppyy pygraphviz pycairo | ||
| + | pip install " | ||
| + | |||
| + | ./ns3 clean | ||
| + | ./ns3 configure --enable-examples --enable-tests --enable-python-bindings | ||
| </ | </ | ||