Changes between Version 2 and Version 3 of InstallLinux

Sep 17, 2018 3:47:39 PM (4 years ago)



  • InstallLinux

    v2 v3  
     1= Installing GSAS-II on Linux systems =
     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.
     5GSAS-II is normally distributed with binary files for Python and associated packages from the [ 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.
     7== Installing the easy way ==
     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.
     11== Installing for Anaconda Enthusiasts ==
     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:
     16conda install gsas2pkg -c briantoby
     19See [wiki:InstallConda here for more information] on this.
     21== Installing Python Manually ==
     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 [ 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 [ Python(x,y)], [ Enthought Canopy] and [ ActiveState ActivePython] should work fine, but none have been tested in many years.
     25You will also need subversion (svn) to download GSAS-II files.
     27Once you have installed Python, follow these steps to install GSAS-II:
     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.
     313. Download the  installation script (
    133See [wiki:"InstallLinux-prev"].
     34See [wiki:"InstallLinux-prev"].