User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/using_xstow_for_local_installations.meta failed
tutorials:using_xstow_for_local_installations

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:using_xstow_for_local_installations [2019/05/06 13:47] – [Example] Remove discussion dgarciatutorials:using_xstow_for_local_installations [2022/09/20 00:08] (current) – external edit 127.0.0.1
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 PYTHON3_VERSION=$(basename $(readlink -e $(which python3))) 
-  export LD_LIBRARY_PATH=${HOME}/local/lib:${HOME}/local/usr/lib:${LD_LIBRARY_PATH} +export PATH=${HOME}/local/bin:${HOME}/local/sbin:${HOME}/local/usr/bin:${PATH} 
-  export LIBRARY_PATH=${LD_LIBRARY_PATH}:${LIBRARY_PATH} +export LD_LIBRARY_PATH=${HOME}/local/lib:${HOME}/local/usr/lib:${LD_LIBRARY_PATH} 
-  export CPATH=${HOME}/local/include:${HOME}/local/usr/include:${CPATH} +export LIBRARY_PATH=${LD_LIBRARY_PATH}:${LIBRARY_PATH} 
-  export LDFLAGS="-L${HOME}/local/lib ${LDFLAGS}" +export CPATH=${HOME}/local/include:${HOME}/local/usr/include:${CPATH} 
-  export PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig +export LDFLAGS="-L${HOME}/local/lib ${LDFLAGS}" 
-  export CMAKE_INCLUDE_PATH=${CPATH} +export PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig 
-  export CMAKE_LIBRARY_PATH=${LIBRARY_PATH} +export CMAKE_INCLUDE_PATH=${CPATH} 
-  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 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} 
 +</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.
-   
-Now just for illustration purposes, an installation of a generic project is made with the following steps: 
   * 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.1557150426.txt.gz · Last modified: 2022/09/20 00:08 (external edit)