How to Check If Ns2 is Installed in Ubuntu
Let’s check out the appropriate installation verification process of network simulator 2 in Ubuntu over this article “how to check if Ns2 is installed in Ubuntu”.
Network Simulator 2 Download
Initially, we have to download the packages based on ns-allinone-2.35 for Ubuntu through the below mentioned URL.
![Link to Download Ns2 Package](https://www.ns2project.com/wp-content/uploads/2023/06/network-simulator-2-downlod.png)
Ns2 Install in Ubuntu
To install ns-allinone-2.35 in Ubuntu, we have to change the project location over the execution of below mentioned command.
cd /home/ns-allinone-2.35/
![](https://www.ns2project.com/wp-content/uploads/2023/06/change-the-project-location-2.png)
Following that, we have to run the main installation script using the commands that are highlighted below to install Ns2 in Ubuntu.
./install
![Installation of Ns2 in Ubuntu](https://www.ns2project.com/wp-content/uploads/2023/06/Run-the-main-installation-script.png)
Here, we have highlighted the image of successfully installed the Ns2 and this is the result window.
![](https://www.ns2project.com/wp-content/uploads/2023/06/after-successfully-installed-the-ns2.png)
Check Ns2 Installation in Ubuntu
To check the Ns2 installation in Ubuntu, we have to implement the commands that are highlighted in the following.
cd ns-2.35
./ns
![](https://www.ns2project.com/wp-content/uploads/2023/06/check-the-ns2-is-installed-or-not-installed-in-ubuntu.png)
When, Ns2 is successfully installed in the Ubuntu system then we will acquire the result % as below mentioned screen.
![Successful Installation of Ns2](https://www.ns2project.com/wp-content/uploads/2023/06/ns2-installation-test-result.png)
To this end, we believe that you get the top to bottom way out to check the installation of network simulator 2. If you have any issues just ring us.