Terminal based ns2 installation:
It is the easiest method of ns2 installation. The requirement is that you should possess an internet connection.
A. For Ubuntu/Mint/Debian users (all versions)
Open the terminal and type,
Step1: sudo apt-get install ns2
type Y when it prompts
Step 2: sudo apt-get install nam
type Y if it prompts
Step 3: sudo apt-get install xgraph
type Y if it prompts
Step 4: Download the latest ns2 version i.e., NS-2.35 from the below link.
(http://sourceforge.net/projects/nsnam/files/latest/download)
So, you will be downloading ns2.35 allinone.
B. For Fedora users (all versions)
Open the terminal and type,
Step1: rpm -uhv ns2
type Y when it prompts
Step 2: rpm -uhv nam
type Y if it prompts
Step 3: rpm -uhv xgraph
type Y if it prompts
Step 4: Download the latest ns2 version i.e., NS-2.35 from the below link.
(http://sourceforge.net/projects/nsnam/files/latest/download)
So, you will be downloading ns2.35 allinone.
verification of ns2 installation:
type ns and give enter in the terminal.
Then, you should get % symbol.
It is a sign of conformation that ns2 was installed in your system.
It is the easiest method of ns2 installation. The requirement is that you should possess an internet connection.
A. For Ubuntu/Mint/Debian users (all versions)
Open the terminal and type,
Step1: sudo apt-get install ns2
type Y when it prompts
Step 2: sudo apt-get install nam
type Y if it prompts
Step 3: sudo apt-get install xgraph
type Y if it prompts
Step 4: Download the latest ns2 version i.e., NS-2.35 from the below link.
(http://sourceforge.net/projects/nsnam/files/latest/download)
So, you will be downloading ns2.35 allinone.
B. For Fedora users (all versions)
Open the terminal and type,
Step1: rpm -uhv ns2
type Y when it prompts
Step 2: rpm -uhv nam
type Y if it prompts
Step 3: rpm -uhv xgraph
type Y if it prompts
Step 4: Download the latest ns2 version i.e., NS-2.35 from the below link.
(http://sourceforge.net/projects/nsnam/files/latest/download)
So, you will be downloading ns2.35 allinone.
verification of ns2 installation:
type ns and give enter in the terminal.
Then, you should get % symbol.
It is a sign of conformation that ns2 was installed in your system.
Comments
Post a Comment