Join this channel to get access to the advanced simulation videos and other perks:
/ @tspradeepkumar
Installing ns3 in Windows 11 with WSL (Windows Subsystem for Linux)
Open the command prompt and type
C:/ wsl
You will get the Linux terminal and you can do the following commands
To install WSL, follow the video link above the top right corner.
$ sudo apt update
Download ns3.43 from the nsnam.org website. Its downloaded now.
$ wget -c https://www.nsnam.org/releases/ns-all...
$ ls
The ns3 software would have downloaded.
Install all the prerequisites as given below.
$ 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
Since Windows 11 uses terminal mode, the ns3 software to be extracted through the command line, use the following lines
$ tar jxvf ns-allinone-3.43.tar.bz2
$ cd ns-allinone-3.43/
$ ./build.py --enable-examples --enable-tests
The above command takes some time to install.
So ns3 is installed successfully...
Thanks for watching my video and subscribing to my channel for more such videos.
Source Codes: https://github.com/tspradeepkumar
My other Channel - / tspradeepkumar1
My Tech Blog - https://www.nsnam.com/
My Personal website - https://www.pradeepkumar.org
______________________________
Follow me on,
Instagram - / tspradeepkumar
Facebook - / tspradeep
Twitter - / tspradeepkumar
________________________________