ns3 installation on ubuntu | ns-3.43

ns3 installation on ubuntu | ns-3.43

Engineering Clinic

54 года назад

600 Просмотров

Join this channel to get access to the advanced simulation videos and other perks:
https://www.youtube.com/channel/UCSckTbBIf39jf2dIbruS32A/join

#ns3 #ubuntu #pradeepkumarts #tspradeepkumar
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-allinone-3.43.tar.bz2 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.

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 at 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 - https://www.youtube.com/tspradeepkumar1​
My Tech Blog - https://www.nsnam.com/
______________________________

Follow me on,
Instagram - https://www.instagram.com/tspradeepkumar
Facebook - https://www.facebook.com/tspradeep​
Twitter - https://twitter.com/tspradeepkumar​
________________________________

Тэги:

#ns2 #ns3 #pradeepkumar #nsnamcom #engineering_clinic #engineering #network_simulation #Internet_of_Things #IoT #Moodle #ELearning #NSNAM #TS_Pradeep_Kumar #pradeepkumarts #tspradeepkumar #robotics #ros #blockchain #solidity #5g #6g #VANETs #FANETs #Drones #Drone_Simulation #Simulation #Computer_Networks #Networks #Communication
Ссылки и html тэги не поддерживаются


Комментарии: