Posez votre question Signaler

Installer NS2 all-ine-one sur ubuntu

stmery 3Messages postés 29 avril 2010Date d'inscription 26 mai 2010Dernière intervention - Dernière réponse le 26 mai 2010 à 02:51
Comment installer ns2 all-in-one sur ubuntu aidez moi c'est important!
Lire la suite 

Installer NS2 all-ine-one sur ubuntu »

1 réponses
Réponse
+0
moins plus
1. Téléchargement et installation de ns-allinone-2.31

-Télécharger la source sur le site sourceforge.net
Wget http://nchc.dl.sourceforge.net/sourceforge/nsnam/ns-allinone-2.31.tar.gz

-decompresser avec la commande tar xvfz

- Pour lancer l'installation exécuter : ./install

Résultat
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.4.14: /home/sam/ns-allinone-2.31/{bin,include,lib}
tk8.4.14: /home/sam/ns-allinone-2.31/{bin,include,lib}
otcl: /home/sam/ns-allinone-2.31/otcl-1.13
tclcl: /home/sam/ns-allinone-2.31/tclcl-1.19
ns: /home/sam/ns-allinone-2.31/ns-2.31/ns
nam: /home/sam/ns-allinone-2.31/nam-1.13/nam
xgraph: /home/sam/ns-allinone-2.31/xgraph-12.1
gt-itm: /home/sam/ns-allinone-2.31/itm, edriver, sgb2alt, sgb2ns, sgb2comns, s gb2hierns

-------------------------------------------------------------------------------- --

Please put /home/sam/ns-allinone-2.31/bin:/home/sam/ns-allinone-2.31/tcl8.4.14/u nix:/home/sam/ns-allinone-2.31/tk8.4.14/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put /home/sam/ns-allinone-2.31/otcl-1.13, /home/sam/ns-allinone-2.3 1/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>

(2) You MUST put /home/sam/ns-allinone-2.31/tcl8.4.14/library into your TCL_LIBR ARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.31; ./validate

2. Définition des variables d'environnement

Complétez votre environnement selon le message affiché en fin d'installation, par exemple
gedit ~/.bashrc
export PATH=$PATH:/home/sam/ns-allinone-2.31/bin:/home/sam/ns-allinone-2.31/tcl8.4.14/unix:/home/sam/ns-allinone-2.31/tk8.4.14/unix
export LD_LIBRARY_PATH=/home/sam/ns-allinone-2.31/otcl-1.13:/home/sam/ns-allinone-2.31/lib:/usr/X11R6/lib
export TCL_LIBRARY=/home/sam/ns-allinone-2.31/tcl8.4.14/library
source ~/.bashrc : pour prendre en compte les modification
NB: l'étape décrite ci-dessus est important, sinon vous ne pouvez pas exécuter avec ns avec succès
3. Validation de l'installation

Après ces étapes il faut lancer la validation de ns
cd ns-2.31
./validate
Ajouter un commentaire
Ce document intitulé « installer NS2 all-ine-one sur ubuntu » issu de CommentCaMarche (www.commentcamarche.net) est mis à disposition sous les termes de la licence Creative Commons. Vous pouvez copier, modifier des copies de cette page, dans les conditions fixées par la licence, tant que cette note apparaît clairement.
Dossier à la une
Passage au tout numérique : quel coût pour les particuliers ?