Hello, this post explains how to install ns2 in Ubuntu 21.04. 1) First you have to download ns2 all-in-one package from following link; http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download 2) Extract the downloaded zip file 'ns-allinone-2.35.tar.gz file' to home folder. 3) Now you need to download some essential packages for ns2,these packages can be downloaded by using the following commands : applications>accessories>terminal or dashhome>terminal and then type the below lines one by one on the terminal window sudo apt-get update sudo apt-get dist-upgrade sudo apt-get update 4) Install the basic libraries; sudo apt install build-essential autoconf automake libxmu-dev 5) Install gcc and g++ and for that please do following; open the file using sudo mode sudo nano /etc/apt/sources.list Include the following line in list; deb http://in.archive.ubuntu.com/ubuntu bionic main universe then open terminal and exec
When you’re curious, you find lots of interesting things to do.
Comments
Post a Comment