Skip to content

Instantly share code, notes, and snippets.

@TaylerUva
Last active April 6, 2018 21:01
Show Gist options
  • Save TaylerUva/c36e0fdd2e51fe64fe4e3f20e6feed85 to your computer and use it in GitHub Desktop.
Save TaylerUva/c36e0fdd2e51fe64fe4e3f20e6feed85 to your computer and use it in GitHub Desktop.
NS2 (Network Simulator 2) path install Mac OS
echo "Installing paths"
echo "export PATH=$PATH:`pwd`/ns-2.35:`pwd`/nam-1.15" >> ~/.bash_profile
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/otcl-1.14:`pwd`/lib" >> ~/.bash_profile
echo "export TCL_LIBRARY=$TCL_LIBRARY:`pwd`/tcl8.5.10/" >> ~/.bash_profile
source ~/.bash_profile
echo 'Path installation complete. Run ns or nam'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment