Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorials:using_xstow_for_local_installations [2019/05/06 08:48]
dgarcia [Using xstow for local installations]
tutorials:using_xstow_for_local_installations [2019/08/22 13:53] (current)
amora [Using xstow for local installations]
Line 9: Line 9:
 <code bash> <code bash>
   export PYTHON_VERSION=$(basename $(readlink -e $(which python)))   export PYTHON_VERSION=$(basename $(readlink -e $(which python)))
 +  export PYTHON3_VERSION=$(basename $(readlink -e $(which python3)))
   export PATH=${HOME}/​local/​bin:​${HOME}/​local/​sbin:​${HOME}/​local/​usr/​bin:​${PATH}   export PATH=${HOME}/​local/​bin:​${HOME}/​local/​sbin:​${HOME}/​local/​usr/​bin:​${PATH}
   export LD_LIBRARY_PATH=${HOME}/​local/​lib:​${HOME}/​local/​usr/​lib:​${LD_LIBRARY_PATH}   export LD_LIBRARY_PATH=${HOME}/​local/​lib:​${HOME}/​local/​usr/​lib:​${LD_LIBRARY_PATH}
Line 17: Line 18:
   export CMAKE_INCLUDE_PATH=${CPATH}   export CMAKE_INCLUDE_PATH=${CPATH}
   export CMAKE_LIBRARY_PATH=${LIBRARY_PATH}   export CMAKE_LIBRARY_PATH=${LIBRARY_PATH}
-  export PYTHONPATH=${HOME}/​local/​lib/​python/​site-packages:​${HOME}/​local/​lib/​${PYTHON_VERSION}/​site-packages:​${HOME}/​local/​lib/​${PYTHON_VERSION}/​dist-packages:​${HOME}/​local/​lib/​python/​dist-packages:​${PYTHONPATH}+  export PYTHONPATH=${HOME}/​local/​lib/​python/​site-packages:​${HOME}/​local/​lib/​python3/​site-packages:​${HOME}/​local/​lib/​${PYTHON_VERSION}/​site-packages:​${HOME}/​local/​lib/​${PYTHON_VERSION}/​dist-packages:​${HOME}/​local/​lib/​${PYTHON3_VERSION}/​site-packages:​${HOME}/​local/​lib/​${PYTHON3_VERSION}/​dist-packages:​${HOME}/​local/​lib/​python/​dist-packages:​${HOME}/​local/​lib/​python3/​dist-packages:​${PYTHONPATH}
 </​code>​ </​code>​
   * Please add this exports to the .bashrc file in your home directory. Please logout and login from your graphical session after modifying the .bashrc file. This is necessary in order to have the changes available in any new opened console.   * Please add this exports to the .bashrc file in your home directory. Please logout and login from your graphical session after modifying the .bashrc file. This is necessary in order to have the changes available in any new opened console.
  • tutorials/using_xstow_for_local_installations.1557150536.txt.gz
  • Last modified: 2019/05/06 08:48
  • by dgarcia