Help me with the installation process with Ubuntu 10.04.

Asked By 0 points N/A Posted on -
qa-featured

I have no experience in using Linux and I want to install NS2.

I am looking for someone who can help me with the installation process with Ubuntu 10.04. It should be clear and easy to follow.  

Please guide me with installation process that are clear and has no errors. 

SHARE
Answered By 0 points N/A #100725

Help me with the installation process with Ubuntu 10.04.

qa-featured

A. Easy way:

 

1. type this command in your console:
 
sudo add-apt-repository ppa:wouterh/ppa
sudo apt-get update
sudo apt-get install ns2 nam xgraph
 
2. after the installation finished, run the program by typing in your console:
 
nam
 
B. The Hard Way:
 
1. Run this command in your console:
 
sudo apt-get update
sudo apt-get install build-essential autoconf automake libxmu-dev libxt-dev libxt6 libsm-dev libsm6 libice-dev libice6 vim
 
2. Download ns-allinone.2.34.tar.gz package from this URL:
 
 
3. Now extract the file, by right-clicking and choose "extract here"
4. Now open your terminal, and change the directory to the extracted package:
 
cd ns-allinone.2.34/
 
5. Run the install
 
./install
 
6. You might hit the error like this:
 
otcl-1.13 make failed! Exiting
 
7. And here is the solution
8. Run this command on your console:
 
gedit otcl-1.13/configure &
 
9. Looks for this lines: 
 
Linux*)
SHLIB_CFLAGS="-fpic"
SHLIB_LD="ld -shared"
SHLIB_SUFFIX=".so"
DL_LIBS="-ldl"
SHLD_FLAGS=""
;;
 
10. and replace with:
 
Linux*)
SHLIB_CFLAGS="-fpic"
SHLIB_LD="gcc -shared"
SHLIB_SUFFIX=".so"
DL_LIBS="-ldl"
SHLD_FLAGS=""
;;

 

Related Questions