Here are the requirements
1. Ubuntu 24.04 LTS
2. ns-allinone-3.43.tar.bz2
(Download the above software from https://www.nsnam.org/releases/ns-all... and store it in the home folder (In my case it is /home/pradeepkumar/ folder)
This #installation will work for ns-3.38, ns-3.39, ns-3.40, ns-3.41 and ns-3.42 as well. Check the video for more instructions.
Open a New Terminal
The first command to do is (You can just copy paste the following in your terminal window)
$ 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
Now we have to go to the installation.
Open a new Terminal and type the following commands.
Copy the ns-allinone software to the home folder and just right-click and click "Extract here". Already the software is extracted or unzipped and it's in the home folder.
open another terminal
Now
$ cd ns-allinone-3.43/
$ ./build.py --enable-examples --enable-tests
(This above line will install all the packages for ns3 along with netanim, flow monitor, protocols applications, etc.)
Source Codes: https://github.com/tspradeepkumar
My other Channel - / tspradeepkumar1
My Tech Blog - https://www.nsnam.com/
______________________________
Follow me on,
Instagram - / tspradeepkumar
Facebook - / tspradeep
Twitter - / tspradeepkumar
_______________________________
Comments
Post a Comment