Skip to main content

Posts

Showing posts with the label ubuntu

NS2 INSTALLATION IN WINDOWS 10 & WINDOWS 11 USING WSL

Hey All, this post explains how to install NS2 easily using Windows OS using Windows Subsystem for Linux.  Before starting the topic, lets talk a little about WSL oe Windows Subsystem for Linux. Windows Subsystem for Linux The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual-boot setup. Step 1:  Turn on developer mode Search > Developer Settings > Turn on Developer mode Step 2: Download Ubuntu from Store Go to Microsoft Store and Download Ubuntu . Step 3:  Download and Install Xming   Click here for downloading Xming. Step 4: Install Ubuntu Set Username and Password for ubuntu. If you get an error in installing ubuntu,  Ws1RegistrationDistributuin failed with error: 0x8007019e It mans the windows subsystem for Linux optional component is not enabled.  So Turn on wind...

NS2 INSTALLATION IN UBUNTU 18.04

  Hello, this post explains how to install ns2 in Ubuntu 18.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 ...

NS2 INSTALLATION IN UBUNTU 20.04

Hello, this post explains how to install ns2 in Ubuntu 20.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...

NS2 UNINSTALLATION IN LINUX

 1) Delete the directory  ns-allinone-2.35. 2) Delete all ns2 related files from bin folder:   /usr/local/lib 3) After completing the deletion type the following command in the command window      gedit ~/.bashrc 4) Now an editor window appears,please remove following codes from bash file (note that '/home/abhiram/Desktop/ns-allinone-2.35/octl-1.14' in each line in the below code  varies with your location ) # LD_LIBRARY_PATH OTCL_LIB=/home/abhiram/Desktop/ns-allinone-2.35/otcl-1.14 NS2_LIB=/home/abhiram/Desktop/ns-allinone-2.35/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/home/abhiram/Desktop/ns-allinone-2.35/tcl8.5.10/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/home/abhiram/Desktop/ns-allinone-2.35/bin:/home/abhiram/Desktop/ns-allinone-2.35/tcl8.5.10/unix:/home/abhiram/Desktop/ns-allinone-2.35...