Installation of NS3 in Ubuntu 24.04 ARM OS
#ns3 #ns3.43 #Ubuntu #ARM #Linux #NetworkSimulation #Simulation #WirelessNetworks #WiredNetworks #InternetSimulation #Tutorial #Guide #TechBlog #Ubuntu2404 #ARMOS
This installation will be suitable for the following laptop processors
1. Mac book M1, M2, M3, M4 Series with multipass support
2. Any Snapdragon processor laptops
3. also suits for any Intel Laptop processors namely i3, i5, i7, Core 5, Core 7, Core ultra processors, etc.
For the video version, you can check the video and subscribe to my channel for more updates about network simulation
This installation is done in MacBook Air M4 (which is an ARM Based machine)
In this Mac, we have installed multipass (a kind of a container-like system for installing Linux inside a Mac)
Check the video link for installing multipass in your Mac machine M series...
So here are the details:
Ns version - ns-3.43
Ubuntu 24.04 ARM
There are two ways of handling the multipass. The following line is only for those who use Mac Machines, others skip to Step 2:
Step 1:
Open a terminal in Mac OS
% multipass exec engineeringclinic /bin/bash
Step 2: Open a terminal in Linux and give the commands.
$ 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 python3-full python3-pip
In the meantime, we will download the ns-3.43 software from nsnam.org
$ wget -c https://www.nsnam.org/releases/ns-allinone-3.43.tar.bz2
$ tar jxvf ns-allinone-3.43.tar.bz2
$ cd ns-allinone-3.43/
$ ./build.py --enable-examples --enable-tests
$ cd ns-3.43/
$ ./ns3 run hello-simulator
$ ./ns3 run first
$ ./ns3 run second
$ ./ns3 run seventh
$ ./ns3 run sixth
$ ./ns3 run fifth
See the output in the following screenshot
![]() |
ns3 |
Source Codes: https://github.com/tspradeepkumar My other Channel - https://www.youtube.com/tspradeepkumar My Tech Blog - https://www.nsnam.com/ My Personal webiste -https://www.pradeepkumar.org ______________________________ Follow me on, Instagram - https://www.instagram.com/tspradeepkumar Facebook - https://www.facebook.com/tspradeep Twitter - https://twitter.com/tspradeepkumar ________________________________
Comments
Post a Comment