Last active
April 6, 2018 21:01
-
-
Save TaylerUva/c36e0fdd2e51fe64fe4e3f20e6feed85 to your computer and use it in GitHub Desktop.
NS2 (Network Simulator 2) path install Mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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