Changes between Version 6 and Version 7 of LinuxSingleStepInstaller


Ignore:
Timestamp:
May 1, 2019 3:07:29 PM (2 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LinuxSingleStepInstaller

    v6 v7  
    66=== Step 1: ===
    77
    8 Download **one** of the following:
     8This file is recommended:
     9* https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-Linux-x86_64.sh
    910
     11These are older installers that have worked:
    1012
    11 * https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/g2conda-1.0.1-Linux-x86_64.sh
    12    * This has contains the latest intercompatible Python packages, including Python 3.7, wxPython 4.0.3, !NumPy 1.51.1, !SciPy 1.1.0, matplotlib 2.2.3,... Since the code has not been fully tested with this environment, there is some chance for finding compatibility bugs we have not yet seen (but will certainly fix if reported.)
    13 
    14 * https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/g2conda-py27-1.0.2-Linux-x86_64.sh
    15    * This has mostly the same packages as the above, but contains Python 2.7.x and an older version of wxPython (3.0.0). This may be a bit more safe with regards to bugs, but we are now recommending Python 3.x rather than this dist.
    16 
    17 or
    18 * https://anl.box.com/v/GSASII4linux12 (file ```g2conda-0.1.2-Linux-x86_64.sh```)
    19   * this is older and is not recommended, unless you have a older Linux dist that is not compatible with the newer packages. This contains an older version of bootstrap.py, which does not handle proxies perfectly.
     13* https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/g2conda-1.0.1-Linux-x86_64.sh (Python 3.7, wxPython 4.0.3, !NumPy 1.51.1, !SciPy 1.1.0, matplotlib 2.2.3,...)
     14* https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/g2conda-py27-1.0.2-Linux-x86_64.sh (Python 2.7.x and wxPython 3.0.0)
     15* in https://anl.box.com/v/GSASII4linux12 (file ```g2conda-0.1.2-Linux-x86_64.sh```) -- older and is not recommended.
    2016
    2117Note that regardless of which installer you use above, after Python is installed, these self-installers will fetch the latest version of GSAS-II from our server. To get later updates of GSAS-II, use the !Help/Update menu item within the GUI or run the bootstrap.py file.
     
    2622This should be done by typing the command
    2723{{{
    28 bash <path>/g2conda-*-Linux-x86_64.sh
     24bash <path>/gsas2full-Latest-Linux-x86_64.sh
    2925}}}
    3026
     
    4642=== Step 4:===
    4743
    48 After Python and packages are installed, the ```GSASII/bootstrap.py``` file (also called ```bin/gsas2-install.py```) is invoked to install the GSAS-II files using program svn (subversion) from the APS server ```https://subversion.xray.aps.anl.gov/pyGSAS```
     44After Python and packages are installed, the ```GSASII/bootstrap.py``` file (also called ```bin/gsas2-install.py```) is invoked to update the GSAS-II files using program svn (subversion) from the APS server ```https://subversion.xray.aps.anl.gov/pyGSAS```
    4945
    5046This script requests the name of a proxy server. Most people will use the default and press return. However, some sites block web traffic unless it is passed through a particular computer. If needed, enter that computer name or IP address here (e.g. proxyout.lanl.gov); you will be then be requested to also supply a port number, which defaults to 8080.
    5147
    52 Note that the location of the Python image is displayed (typically ```~/g2conda/bin/python```) this is worth noting in case you have installation problems and need to rerun the bootstrap.py script.
     48Note that the location of the Python image is displayed (typically ```~/g2full/bin/python```) this is worth noting in case you have installation problems and need to rerun the bootstrap.py script.
    5349
    54 Once the svn command is executed a large number of files are downloaded ending with display of the current GSAS-II version number.
     50Once the svn command is executed, updated versions of GSAS-II files are downloaded to provide the current GSAS-II version.
    5551
    5652The final question to be asked is should the installation location be placed into your system's path. Answering "no" is recommended (unless you plan to run other Python scripts from the command line with this version of Python, in which case you may want to type "yes".)
     
    6056On some Linux distributions a shortcut will be created to run GSAS-II, for example on the desktop. On others you will need to do this yourself. Note that the command to run GSAS-II will be something like this
    6157{{{
    62 ~/g2conda/bin/python ~/g2conda/GSASII/GSASII.py
     58~/g2full/bin/python ~/g2full/GSASII/GSASII.py
    6359}}}
    6460
    65 but the prefix ```~/g2conda/``` will vary depending on where you install GSAS-II.
     61but the prefix ```~/g2full/``` will vary depending on where you install GSAS-II.
    6662
    6763== In case of problems ==
     
    6965This installation process is undergoing revisions, so please report problems, unclear instructions to [Brian dot Toby at ANL dot gov] (notes about success are also appreciated).
    7066
    71 If you are able to download the ```g2conda-*-MacOSX-x86_64.sh``` file, but have a problem installing it, you may not be executing the command properly. Please make sure you are typing ```bash``` correctly and leaving a space between that and the file name, also be sure you are allowed to write files to the location you choose for installation. If
     67If you are able to download the ```gsas2full-Latest-Linux-x86_64.sh``` file, but the install does not run properly, you may not be executing the command properly. Please make sure you are typing ```bash``` correctly and leaving a space between that and the file name, also be sure you are allowed to write files to the location you choose for installation. If
    7268the installation fails, delete the previous installation directory before trying again.
    7369
    74 If you are able to install the Python files, but the downloading of GSAS-II fails ([#Step4: Step 4]), you may need to specify a proxy; contact a computer/network support person for your institution. While it may be simpler to delete the directory where you have installed the files (typically ```.../g2conda```) and resume from Step 2, it is also possible to rerun the bootstrap.py file using a command such as
     70If you are able to install the Python files, but the update of GSAS-II fails ([#Step4: Step 4]), you may need to specify a proxy; contact a computer/network support person for your institution. While it may be simpler to delete the directory where you have installed the files (typically ```.../g2full```) and resume from Step 2, it is also possible to rerun the bootstrap.py file using a command such as
    7571{{{
    76 ~/g2conda/bin/python ~/g2conda/GSASII/bootstrap.py
     72~/g2full/bin/python ~/g2full/GSASII/bootstrap.py
    7773}}}
    7874
    79 where ```~/g2conda` may need to be changed to the  location where these files have been installed.
     75where ```~/g2full` may need to be changed to the  location where these files have been installed.