安装NS2的笔记

1.用中科大的源可以安装gcc4.8
2.配置环境:
sudo gedit ~/.bashrc

export PATH="/home/djx/ns/bin:/home/djx/ns/tcl8.5.10/unix:/home/djx/ns/tk8.5.10/unix:$PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/djx/ns/otcl-1.14:/home/djx/ns/lib"
export TCL_LIBRARY="$TCL_LIBRARY:/home/djx/ns/tcl8.5.10/library"

然后更新环境:
source ~/.bashrc

你可能感兴趣的:(GPSR,SUMO,NS2)