Changes between Version 2 and Version 3 of InstallLinux


Ignore:
Timestamp:
Sep 17, 2018 3:47:39 PM (3 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallLinux

    v2 v3  
     1= Installing GSAS-II on Linux systems =
     2
     3There are a number of ways to install GSAS-II on Linux machines. Alas, none work on Linux dists because there are so many different versions of libraries files in use and this means that any compiled files created on one Linux version will be incompatible with some others.
     4
     5GSAS-II is normally distributed with binary files for Python and associated packages from the [https://www.anaconda.com/download/#linux Anaconda Python distribution]. If these files are not compatible with your version of Linux, you will need to obtain Python & required packages through some method, such packages distributed by your Python distribution channel. We also distribute compiled library (.so) files for the Fortran code used inside GSAS-II. These files need to be matched to the Python version and the numpy version, but sometimes will need to be compiled in the Linux environment where they will be used, despite this.
     6
     7== Installing the easy way ==
     8
     9If you are lucky, you can install GSAS-II by downloading a single file that contains all needed Python packages and then automatically downloads the appropriate files from the GSAS-II svn server. See [wiki:LinuxSingleStepInstaller these instructions] for more details.
     10
     11== Installing for Anaconda Enthusiasts ==
     12
     13If you are already a user of Anaconda Python, then you may not want to install yet another version of Python on your computer. If so, you can use the conda package manager in Anaconda to install GSAS-II for you with a simple command:
     14
     15{{{
     16conda install gsas2pkg -c briantoby
     17}}}
     18
     19See [wiki:InstallConda here for more information] on this.
     20
     21== Installing Python Manually ==
     22
     23GSAS-II will run with any distribution of Python provided it is version 2.7.x or >=3.6 and provided you have the required packages, which include wxPython, !NumPy, !SciPy, matplotlib and PyOpenGL; some other packages are required for optional functionality; see [https://gsas-ii.readthedocs.io/en/latest/#required-packages here for more information on package requirements in GSAS-II.] Provided you can satisfy these requirements, then Python dists from Redhat, Debian, Ubuntu,... will work fine. Likewise, alternate Python distributions from [https://python-xy.github.io/ Python(x,y)], [https://www.enthought.com/product/canopy/ Enthought Canopy] and [https://www.activestate.com/activepython ActiveState ActivePython] should work fine, but none have been tested in many years.
     24
     25You will also need subversion (svn) to download GSAS-II files.
     26
     27Once you have installed Python, follow these steps to install GSAS-II:
     28
     291. Create an empty directory. Best to have no spaces in the full path. GSASII is a good name for this, but this is optional.
     30
     313. Download the  installation script (bootstrap.py)
     32
    133See [wiki:"InstallLinux-prev"].
     34See [wiki:"InstallLinux-prev"].