You are on page 1of 2

Name: Manas Samant Networking using Linux

Roll No: 1253

Experiment 2
Installation of NS3 – part 2
Aim: To install ns3 in Linux operating system.
Steps to install ns3:
1. Install Wireshark
sudo apt-get install wireshark

2. After installing the required packages, create a folder named workspace


in the home directory and then put the NS3 tar package into the
workspace.
Go to terminal and input these commands consecutively after each
command finishes executing:

cd
cd workspace
cd <name of extracted NS3>

3. ./build.py --enable-examples --enable-tests

Prof. Sarala Mary


Name: Manas Samant Networking using Linux
Roll No: 1253

4. Test the NS3 build and installation success by running test.py in the ns
directory using the following commands:
cd ns-<version number>
./test.py

Prof. Sarala Mary

You might also like