Changes between Version 20 and Version 21 of InstallLinux


Ignore:
Timestamp:
Dec 4, 2013 8:04:04 PM (7 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallLinux

    v20 v21  
    11= Installing GSAS & EXPGUI on Linux =
    22
    3 There are two ways provided here to install GSAS & EXPGUI. The first is preferred since it downloads directly from a subversion repository. In this method the distribution .tar file does not need to change when the program is updated. Instead, the latest version of the programs are downloaded from a server when the program is installed (an internet connection is obviously required). Subsequently, if there are updates to GSAS or EXPGUI, an update can be made where only the modified or added files are upgraded. This update step can be done using the File/Update... menu option in EXPGUI or by executing the bootstrap.py file in the GSAS directory. However, these methods require ~double the space needed by GSAS & EXPGUI. For users who need to install GSAS & EXPGUI on systems where an Internet connection to the server is not possible or where space usage is critical, an alternate .tar file is also provided containing all GSAS & EXPGUI files, but this requires that upgrades be performed by downloading and installing the all GSAS & EXPGUI files from a future distribution.
     3There are two ways provided here to install GSAS & EXPGUI. The first is preferred since it downloads directly from a subversion repository. In this method the distribution .tar file does not need to change when the program is updated. Instead, the latest version of the programs are downloaded from a server when the program is installed (an internet connection is obviously required). Subsequently, if there are updates to GSAS or EXPGUI, an update can be made where only the modified or added files are upgraded. This update step can be done using the !File/Update... menu option in EXPGUI or by executing the bootstrap.py file in the GSAS directory. However, these methods require ~double the space needed by GSAS & EXPGUI. For users who need to install GSAS & EXPGUI on systems where an Internet connection to the server is not possible or where space usage is critical, an alternate .tar file is also provided containing all GSAS & EXPGUI files, but this requires that upgrades be performed by downloading and installing the all GSAS & EXPGUI files from a future distribution.
    44
    55There are so many flavors and releases of Linux in use, it is hard to prepare a installer that works on all platforms. Some testing has been done with Fedora Core 10 & 12. Please send feedback on experience with other systems to mailto:toby@anl.gov
     
    1313 * '''tcsh''': this shell is needed to run the GSAS script. If you will only use EXPGUI, this is not needed. It does not seem to be loaded by default. The presence of this can be tested by typing `ls /bin/tcsh`. To load the package on !RedHat, use {{{yum install tcsh}}}
    1414
    15  * '''!Tcl/Tk & BLT''': EXPGUI requires the !Tcl/Tk interpreter to run. In addition, the BLT graphics package is required for plots, such as in program LIVEPLOT (EXPGUI can be run without this). It is possible to load Tcl/Tk and BLT on most versions of Linux, but I have seen bugs with some releases of BLT for !Tcl/Tk 8.5. This GSAS/EXPGUI distribution comes with a version of Tcl/Tk (file `.../gsas/exe/ncnrpack`), but this has problems on some platforms:
     15 * '''!Tcl/Tk & BLT''': EXPGUI requires the !Tcl/Tk interpreter to run. In addition, the BLT graphics package is required for plots, such as in program LIVEPLOT (EXPGUI can be run without this). It is possible to load !Tcl/Tk and BLT on most versions of Linux, but I have seen bugs with some releases of BLT for !Tcl/Tk 8.5. This GSAS/EXPGUI distribution comes with a version of !Tcl/Tk (file `.../gsas/exe/ncnrpack`), but this has problems on some platforms:
    1616    * Fedora core 10: the `.../gsas/exe/ncnrpack` image fails, but the blt.i386 (2.4-28.z.fc10) package works fine.
    1717    * Fedora core 12: the initial yum-loaded version of BLT failed. Be sure to upgrade to blt.i686 (2.4-'''32'''.z.fc12 or later); the `.../gsas/exe/ncnrpack` also image works fine on FC12, but has less attractive fonts.
     
    3131 * curl !https://subversion.xray.aps.anl.gov/EXPGUI/gsas/linux/dist/bootstrap.py > bootstrap.py
    3232 * python bootstrap.py
    33 There are many other ways, using GUI tools, to accomplish the same tasks. If curl cannot access the file, you can use https://subversion.xor.aps.anl.gov/trac/EXPGUI/browser/gsas/linux/dist/bootstrap.py?format=txt and move that file into the location where GSAS and EXPGUI will be installed. Then run the bootstrap.py file. Note that if curl fails, but a web browser works, you probably have a web proxy in use. See [wiki:News2012May4 the discussion on proxies] for more on configuring that.
     33There are many other ways, using GUI tools, to accomplish the same tasks. If curl cannot access the file, you can use https://subversion.xray.aps.anl.gov/trac/EXPGUI/browser/gsas/linux/dist/bootstrap.py?format=txt and move that file into the location where GSAS and EXPGUI will be installed. Then run the bootstrap.py file. Note that if curl fails, but a web browser works, you probably have a web proxy in use. See [wiki:News2012May4 the discussion on proxies] for more on configuring that.
    3434
    3535It should be noted that GSAS and EXPGUI desktop shortcuts are created for Gnome using the distributed !Tcl/Tk version. I am not sure what other mechanisms are available for app integration on KDE, etc., but am happy to get input.
     
    4545== Non-Upgrading GSAS & EXPGUI Installation Commands ==
    4646
    47   Users without network access, or who do not want to install subversion can use this method to install GSAS & EXPGUI. If this is used, the software cannot fetch the latest upgrades from the server. The following three commands can be used to create a GSAS installation directory and install GSAS & EXPGUI in that area:
     47  Users without network access, or who do not want to install subversion can use this method to install GSAS & EXPGUI, but this will likely get you a pretty old version of EXPGUI, since this distribution is not updated very often. If this is used, the software also cannot fetch the latest upgrades from the server. The following three commands can be used to create a GSAS installation directory and install GSAS & EXPGUI in that area:
    4848
    4949 * mkdir ~/gsas
     
    5252
    5353There are many other ways, using GUI tools, to accomplish the same tasks. The gist is to download file http://11bm.xray.aps.anl.gov/downloads/gsas/linux/gsas+expgui_linux.tar.gz and expand that into the location where GSAS and EXPGUI will be installed.
    54 Note that the subversion version number for this distribution can be determined by noting the latest number gsas+expgui_linux_Vxxxx.dmg in directory http://11bm.xray.aps.anl.gov/downloads/gsas/linux/.
     54Note that the subversion version number for this distribution can be determined by noting the latest number gsas+expgui_linux_Vxxxx.dmg in directory http://11bm.xray.aps.anl.gov/downloads/gsas/linux/. 
    5555
     56Note that it is possible to update manually by downloading the latest version of EXPGUI using https://subversion.xray.aps.anl.gov/trac/EXPGUI/changeset/HEAD/trunk?old_path=%2F&format=zip and then manually move these files into the expgui directory.
    5657
    57 With this download method, you are on your own to create shortcuts.
     58With this download method, you are also on your own to create shortcuts.
    5859
    5960== Reported Problems & Work Arounds ==