ns3 installation in Kali Linux 2019

Опубликовано: 18 Октябрь 2024
на канале: Engineering Clinic
6,765
30

There is no Audio in this Video, Its just self explanatory. Please comment below if you have any queries related to the installation.

#ns3 #KaliLinux #engineeringclinic

Ns3 installation in Kali Linux 2019

Since Kali uses root login, you need not use sudo for installing any package.
So, use all the commands as it is

Step 1: Download the ns3 software from https://www.nsnam.org
Step 2: Install the following packages
$] apt update
$] apt install build-essential autoconf automake libxmu-dev
$] apt install build-essential autoconf automake libxmu-dev python-pygraphviz
cvs mercurial bzr git cmake p7zip-full python-matplotlib python-tk python-dev
qt4-dev-tools qt4-qmake qt4-default gnuplot-x11 wireshark

the above packages are installed, if you get any errors that the packages are missing
delete the particular package name and try again.

Step 3: Build ns3 as per the following command
Copy the ns3 source to home folder in my case, it is /root
$] tar jxvf ns-allinone-3.29.tar.bz2
$] cd ns-allinone-3.29
$] ./build.py --enable-examples --enable-tests
This will take some time depends on your RAM and Processing speed.
My machine is running with a SSD, So its fast...
In my case, there are 2725 packages, your number might be same or different.
Dont Panic !!!



Please subscribe to my channel Engineering Clinic and Share it your friends.
Installation is Done,
Now checking whether ns3 is workng or not.

$] cd
$] cd ns-allinone-3.29/ns-3.29/
$] ./waf --run hello-simulator

You should Get Hello Simulator as shown in the demo.