The recommended way of installing stormtracks is using pip in a python virtualenv. The instructions below show how to do this on a Debian based Linux system (e.g. Ubuntu, Linux Mint) and a recent Fedora Core system (Fedora Core 22). They should be usable with minor modifications on other Linux/Unix platforms, e.g. on older Fedora Core system replace dnf with yum.
Open a terminal and run these commands to get pip, virtualenv and some tools for compiling binaries.
sudo aptitude install python-pip build-essential
sudo pip install virtualenv
Open a terminal and run these commands to get pip, virtualenv and some tools for compiling binaries.
sudo dnf install gcc python-devel
sudo pip install virtualenv
Creates and activates a virtualenv to run stormtracks from:
mkdir stormtracks
cd stormtracks
virtualenv .env
source .env/bin/activate
Installing stormtracks using pip will install stormtracks-admin.py, a utility which can help install stormtrack’s dependencies. This will perform a complete install on Debian based linux computers. This will prompt you for your root password, if you are unhappy about this then use the next manual method to see what is going on. First installation will take a while, around 20-30 mins. Subsequent installations should be faster, around 1 min.
pip install stormtracks
stormtracks-admin.py install-full
# stormtracks-admin.py install-full -o fedora_core
Installs libraries required to build the python packages (Debian based Linux). Fixes a library so as basemap will build properly by symlinking the required library. Installs pip requirements in 4 stages to get round some installation problems with some of the modules.
stormtracks-admin.py print-installation-commands
# stormtracks-admin.py print-installation-commands -o fedora_core
stormtracks-admin.py print-installation-commands > install.sh
bash install.sh
Head to the Quickstart guide to see how to download, process and analyse one year.