Answers for "how to install ns3 in linux"

1

how to install ns3 in linux

## Installation
# Download ns3 from official site
./build.py --enable-examples --enable-test (in ns3-allinone-3.28 folder)
./waf --build-profile=debug --enable-examples --enable-tests configure(ns-3.28 Folder)
./waf 
./test.py -c core (optional)

## Running 
# (copy any .cc file from examples folder i.e. first.cc
# to scratch folder and run without .cc extension)
./waf --run scratch/first 

## python bindings
python ./waf configure

##Running in python
# (copy any .py file from examples folder i.e. first.py
# to scratch folder and run without .cc extension)
./waf --pyrun scratch/first .py
Posted by: Guest on November-04-2020

Code answers related to "how to install ns3 in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language