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/08/22 13:53]
amora [Using xstow for local installations]
tutorials:using_xstow_for_local_installations [2019/09/30 03:27] (current)
admin [Using xstow for local installations]
Line 8: Line 8:
   * We need to modify some environmental variables (in your .bashrc file):   * We need to modify some environmental variables (in your .bashrc file):
 <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 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} 
-  export LIBRARY_PATH=${LD_LIBRARY_PATH}:​${LIBRARY_PATH} +export LIBRARY_PATH=${LD_LIBRARY_PATH}:​${LIBRARY_PATH} 
-  export CPATH=${HOME}/​local/​include:​${HOME}/​local/​usr/​include:​${CPATH} +export CPATH=${HOME}/​local/​include:​${HOME}/​local/​usr/​include:​${CPATH} 
-  export LDFLAGS="​-L${HOME}/​local/​lib ${LDFLAGS}"​ +export LDFLAGS="​-L${HOME}/​local/​lib ${LDFLAGS}"​ 
-  export PKG_CONFIG_PATH=${HOME}/​local/​lib/​pkgconfig +export PKG_CONFIG_PATH=${HOME}/​local/​lib/​pkgconfig 
-  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/​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}+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.txt
  • Last modified: 2019/09/30 03:27
  • by admin