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/05/06 08:48] (current)
dgarcia [Using xstow for local installations]
Line 3: Line 3:
   * Install xstow   * Install xstow
  
 +<code bash>
   sudo apt-get install xstow   sudo apt-get install xstow
 +</​code>​
   * We need to modify some environmental variables (in your .bashrc file):   * We need to modify some environmental variables (in your .bashrc file):
 +<code bash>
   export PYTHON_VERSION=$(basename $(readlink -e $(which python)))   export PYTHON_VERSION=$(basename $(readlink -e $(which python)))
   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}
Line 17: Line 18:
   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/​${PYTHON_VERSION}/​site-packages:​${HOME}/​local/​lib/​${PYTHON_VERSION}/​dist-packages:​${HOME}/​local/​lib/​python/​dist-packages:​${PYTHONPATH}
 +</​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.
   * Make the basic directory structure   * Make the basic directory structure
 +<code bash>
   mkdir -p local/src   mkdir -p local/src
   mkdir -p local/DIR   mkdir -p local/DIR
-  ​+</​code>  ​
 ==== Example ==== ==== Example ====
  
  • tutorials/using_xstow_for_local_installations.txt
  • Last modified: 2019/05/06 08:48
  • by dgarcia