Instalar ns2 en Fedora 13

ns2 es un programa simulador de trafico de redes. Para instalarlo en Fedora 13 deben hacer lo siguiente:

1. Instalar las dependencias desde terminal como super-usuarios:

#yum install autoconf, automake, gcc-c++, libX11-devel, xorg-x11-proto-devel, libXt-devel, libXmu-devel

2. Descargar ns-allinone (2.34 actualmente)

$ tar -xzf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34
$. /install

Luego agregar las lineas al archivo “.bashrc” con el comando:

$gedit ~/.bashrc

Las lineas a agregar son (donde deben modificar la ruta por la que tengan):

# LD_LIBRARY_PATH
OTCL_LIB=/home/cleve/Descargas/ns-allinone-2.34/otcl-1.13
NS2_LIB=/home/cleve/Descargas/ns-allinone-2.34/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/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
#PATH
XGRAPH=/home/cleve/Descargas/ns-allinone-2.34/bin:/home/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/unix:/home/cleve/Descargas/ns-allinone-2.34/tk8.4.18/unix
NS=/home/cleve/Descargas/ns-allinone-2.34/ns-2.34/
NAM=/home/cleve/Descargas/ns-allinone-2.34/nam-1.14/
PATH=$PATH:$XGRAPH:$NS:$NAM

# LD_LIBRARY_PATHOTCL_LIB=/home/cleve/Descargas/ns-allinone-2.34/otcl-1.13NS2_LIB=/home/cleve/Descargas/ns-allinone-2.34/libX11_LIB=/usr/X11R6/libUSR_LOCAL_LIB=/usr/local/libexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARYTCL_LIB=/home/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/libraryUSR_LIB=/usr/libexport TCL_LIBRARY=$TCL_LIB:$USR_LIB
#PATHXGRAPH=/home/cleve/Descargas/ns-allinone-2.34/bin:/home/cleve/Descargas/ns-allinone-2.34/tcl8.4.18/unix:/home/cleve/Descargas/ns-allinone-2.34/tk8.4.18/unixNS=/home/cleve/Descargas/ns-allinone-2.34/ns-2.34/NAM=/home/cleve/Descargas/ns-allinone-2.34/nam-1.14/PATH=$PATH:$XGRAPH:$NS:$NAM

Luego al escribir:

$ns

Debe aparecer el simbolo “%”.

Eso es todo.

Dejar un comentario?

5 Comentarios.

  1. hi i have a error

    ** (gedit:29295): CRITICAL **: gedit_spell_checker_language_to_key: assertion `lang != NULL’ failed

    help me

  2. sorry its too late, the error is originated in the text editor.

  3. Me sale un error casi al ultimo de la instalacion me sale error con el octpl o algo asi… me podrias ayudar…

Deje un comentario


NOTA - Puede usar estosHTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>