PATH is for
specifying directories of executable programs. LD_LIBRARY_PATH is used to
specify directories of libraries.
Sharing knowledge and experiences in networking, security, certifications (CCNA to CCIE), scripting, testing, virtualization, Kubernetes, and the cloud.
Sunday, December 14, 2014
Monday, December 8, 2014
Conventions used to set env PATH for different shell.
Setting path at Unix/Linux:
To add the Python directory to
the path for a particular session in Unix:
In the csh shell: type
setenv PATH
"$PATH:/usr/local/bin/python" and press Enter.
In the bash shell (Linux): type
export PATH="$PATH:/usr/local/bin/python"
and press Enter.
In the sh or ksh shell: type
PATH="$PATH:/usr/local/bin/python"
and press Enter.
Subscribe to:
Posts (Atom)