We can download Ns3 on Linux and we have to follow some guidelines to get succeed in that process of downloading. Let’s get into the step by step process of downloading Ns3 on Linux.
Step: 1 Install Required Dependencies of Ns3
Initially, we have to install the fundamental requirements based on Ns3 such as,
$ sudo apt-get update
#install the dependencies
$ sudo apt install g++ python3 python3-dev pkg-config sqlite3 qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
Step: 2 Download Ns-3.35
After completing the installation process, we have to download the Ns3.35 through the URL, https://www.nsnam.org/releases/ns-3-35/. In addition, implement the following commands such as.
- Download ns-allinone-3.35.tar.bz2 under home directory
# cd /home
Additionally, the compressed file is extracted using our own method.
Step: 3 Compiling Ns3.35
Finally, we have to compile Ns3.35 through the implementation of commands that are highlighted in the following.
#compiling process of ns-3.35
$ cd /home/…./ns-allinone-3.35/ns-3.35
Subsequently, the make file configured as per the functions of environment using the command,
$./waf –disable-python configure
We have to configure some gcc options occasionally, so we have to configure the make file using the command mentioned below,
# CXXFLAGS=”-Wall -g -O0″ ./waf –disable-python configure
We hope that you guys have acquired some knowledge about the process of downloading Ns3 on Linux. Through away your hesitation to reach us to clarify your issues based on downloading process.