You'll need to figure out wkhtmltopdf, ghostscript, pdftk, python-pypdf, imagemagick, and python-pythonmagick. Please report back if you succeed so others can benefit.

I expect in other major distros there is a similar process of finding packages that seem right, trying, and adding more if necessary. It certainly should be possible to get SOFA working on the major distros.

Running SOFA

Make a launcher with the following details:

Name: SOFA Statistics

Description: Analysis package

Command: python /usr/local/share/sofastats/start.py

Icon: /usr/local/share/sofastats/images/sofa_48x48.xpm

You can run sofa from the command line with a single command sofastats (assuming you ran INSTALL.sh). If you want to set it up manually, details are in the Appendix:

Installation and Configuration for Specific User

When SOFA is run, it checks to see if the user has a sofastats folder and adds it if they don't e.g. /home/username/Documents/sofastats. It also make a sofastats_recovery folder.

If you are able to get SOFA to launch at all, but there is a problem of some sort, look at the output.txt file in your /home/username/Documents/sofastats/_internal folder. It may be, for example, that you forgot to install matplotlib.

Appendix

Simple Launch from Command Line

Make a text file called runsofastats.sh with the following

#! /bin/bash
python /usr/local/share/sofastats/start.py

And save it e.g. to your home folder. If bash is not located in /bin/bash on your system, use the command

which bash

to find it.

Then make a symlink to it located in /usr/local/bin (NB give everyone rights to run it)