Installation of NS2
Installation of NS2
Packages needed
Save and close the file. Then, update the package list:
If you encounter any issues with missing keys during the update process, you can resolve it with the
following commands:
$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 3B4FE6ACC0B21F32
$ sudo apt update
Note: The installation process may take 3-5 minutes to complete. Once finished, you should see a
confirmation message indicating successful installation.
After the installation, we have the console for nearly 3 to 5 mins. At the end, we got the output as
follows
After the installation completes, configure your environment by editing the .bashrc file:
$ gedit .bashrc
Add the following lines to the file, replacing the highlighted part with the appropriate directory
from your terminal output during the installation:
$nam
for this, the output will be like
nam:
Then download and paste the deb file – nam_1.14_amd64.deb in /home folder.
$ ls
now, in terminal, type nam as command and we got the output as follows.