Skip to content

Instantly share code, notes, and snippets.

@shamiul94
Last active December 17, 2018 13:03
Show Gist options
  • Save shamiul94/4c2f7a23998d1a5ddec1b0b98bff8c4a to your computer and use it in GitHub Desktop.
Save shamiul94/4c2f7a23998d1a5ddec1b0b98bff8c4a to your computer and use it in GitHub Desktop.
# LD_LIBRARY_PATH
OTCL_LIB=/home/shamiul93/ns-allinone-2.35/otcl-1.14/
NS2_LIB=/home/shamiul93/ns-allinone-2.35/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/shamiul93/ns-allinone-2.35/tcl8.5.10/library/
USR_LIB=/usr/lib/
export TCL_LIBRARY=$TCL_LIBRARY:$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/shamiul93/ns-allinone-2.35/xgraph-12.2/:/home/shamiul93/ns-allinone-2.35/bin/:/home/shamiul93/ns-allinone-2.35/tcl8.5.10/unix/:/home/shamiul93/ns-allinone-2.35/tk8.5.10/unix/
#the above two lines beginning from xgraph and ending with unix should come on the same line
NS=/home/shamiul93/ns-allinone-2.35/ns-2.35/
NAM=/home/shamiul93/ns-allinone-2.35/nam-1.15/
export PATH=$PATH:$XGRAPH:$NS:$NAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment