The laptops in the lab use Ubuntu, so we know things work on that. We also expect the software to work on other distributions. Details of the installation depend on which GNU/Linux distribution you are running, so talk to the staff for help.
We will be using Python 2.4 this semester, which is the version currently distributed with most major GNU/Linux distributions. You can either use your distribution's package manager (apt, yum, etc.) to download and install Python, or you can compile from source.
You will also need to install Numeric, a Python package, for some of the assignments. Again, installation will be dependent on your distribution. For Debian-based distros, there is a package (python-numeric) that you can install with apt. For other distributions, you can either compile from source or find the appropriate package for your distribution. This semester, we will be using Numeric 24.2.
Important: Do not use NumPy, the sucessor to Numeric. It will not work correctly with SoaR.
cd SoaR sudo python setup.py installNote that since the installation script writes to protected system directories, if you do not have sudo set up, you will need to become root before running the script.
python -c "import SoaR;SoaR.run()"For convenience, you may wish to create an alias to the last command so SoaR can be easily started from the command line. If you are using bash as your shell, this can be accomplished by adding the following to your ~/.bash_profile file:
alias SoaR='python -c "import SoaR;SoaR.run()"'