Last modified 7 years ago Last modified on 01/17/2016 11:51:55 AM

Installation instructions


  1. Make sure you have installed subversion client tools, namely the executable svn.
  2. Install ObsPy, please follow the online instructions.
  3. Install python-sqlalchemy software (available in every Linux software repository).
  4. Install python-pysqlite2 package.
  5. Install wxpython graphical framework (dito, sometimes called "python-wxtools" or "python-wxpython").

installation program

The current alpha version offers a simple installation program only.

  1. Download
  2. Run "python make", this will create the installation script /tmp/
  3. Execute "sudo python /tmp/".
  4. After installation the path to the command-line interface is printed. You may set an alias to this script for convenience.

manual installation

  1. Go to the desired installation directory of SHX (afterwards referred as $instdir).
  2. Get the current code from Subversion repository:
    svn export
  3. Create a symbolic link inside python's library. Using the next instructions you can determine the proper path:
    $ python
    >>> from distutils.sysconfig import get_python_lib
    >>> print(get_python_lib())
    >>> quit
    $ cd /usr/local/lib/python2.7/site-packages
    $ ln -s $instdir/SeismicHandler
  4. Now you can start the command line interface via
    $ $instdir/SeismicHandler/bin/SH
  5. For convenience you may set an alias in local profile:
    alias SHX=$instdir/SeismicHandler/bin/SH


For easy updates simply use "check out" command of subversion instead of "export":

svn co
svn up # later update