how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9

View: New views
3 Messages — Rating Filter:   Alert me  

how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9

by tanixmukherzee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9
i m having problems with modifying the environmental vars like TCL_LIBRARY and LD_LIBRARY_PATH...
plz helf

Re: how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9

by souhaj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


you have to add this paths (LD_LIBRARY_PATH=/home/ns-allinone..../......)  to the file .bashsrc


this file is on /home/XXX. it is a hidden file...

to get it you have to select an option : visualise hidden file  from the menu of the window....


tanixmukherzee wrote:
how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9
i m having problems with modifying the environmental vars like TCL_LIBRARY and LD_LIBRARY_PATH...
plz helf

Re: how to intall ns-allinone-2.33 and modify all the environment variables on fedora core 9

by murali1509 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi friend..
just log in as root

have the ns-allinone-2.33.tar.gz in folder opt
open the terminal window and type
$cd ..
$cd opt/
$tar xvfz ns-allinone-2.33.tar.gz
unzip process takes place....
$cd ns-allinone-2.33
$ ./install
installation process takes place
after installatio u have to set the paths.. to set paths open new terminal window
in new terminal window
     $gedit .bash_profile
     it open a text file
     in this copy path from the first terminal window and keep ans paste after the bin:/(our path shown in the first teminal window)
    copy import_LD_ENVIRONMENT from the first terminal wonow and copy it in send teminal window new line,by keeping = paste the path shown in that step
    copy the TCL_Evnvi. from the first terminal window and paste in the text file and copy the path in that step from fist terminal window and paste in the text file after the =sign.
   save and close the text file
   close the second terminal window.. now environment variables are setted

in first terminal window
$cd ns-2.33/
./validate
process takes place.. and shows u all tests passed

now reboot and use..