We have depicted this article as the reference to install network simulator 3 in Ubuntu.
Phase: I
As the initial process, we have to download ns3 package through the URL which is mentioned below,
https://www.nsnam.com/2021/07/installing-ns-334-in-ubuntu-2004.html
![URL to Download Ns3 Packages](https://ns3simulation.com/wp-content/uploads/2023/01/url-for-download-ns-3.34-1024x692.png)
Phase: II
Following that we have to install the basic required packages that are functional through the following commands.
sudo apt update
sudo apt install g++ python3 python3-dev python-dev pkg-config sqlite3 python3-setuptools git qt5-default gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar openmpi-bin openmpi-common openmpi-doc libopenmpi-dev tcpdump wireshark libxml2 libxml2-dev
![Installation of Ns3 Packages](https://ns3simulation.com/wp-content/uploads/2023/01/install-the-basic-required-packages-for-ns-3.34-1024x415.png)
Phase: III
Additionally, we have to install the packages and that are implemented through following commands in Ubuntu 20.04 terminal window.
cd ns-allinone-3.34/
./build.py –enable-examples –enable-tests
![Execution of Ns3 Packages](https://ns3simulation.com/wp-content/uploads/2023/01/execute-the-command-for-install-ns-3.34.png)
Phase: IV
In addition, we have to configure the installed packages through the utilization of following commands.
cd ns-3.34/
./configure
![](https://ns3simulation.com/wp-content/uploads/2023/01/execute-the-command-for-configure-the-ns-3.34-installation.png)
Our research professionals will assist you to obtain the best results using the required and new techniques. In addition, you guys can contact us at any time to clarify your doubts.