Download
Gamera development is hosted on Github. You can obtain file releases or git snapshots of the current development version.
File releases
File releases can be downloaded directly from here:
- gamera-4.1.0.tar.gz for Python 3.5 and newer (based on setuptools and pip)
- gamera-4.0.1.tar.gz for Python 3.0 up to 3.11 (based on distutils, which is removed in Python 3.12)
- gamera-3.4.4.tar.gz for Python 2.7 (deprecated)
Although Python 2.x is no longer maintained, the old version of Gamera is still provided for legacy applications and for use with toolkits that have not yet been ported to Python 3.
Development snapshots
File releases are made infrequently. If you need the latest bug fixes or features, you can download a snapshot of the current source code via anonymous git access with the following commands (requires the software git):
git clone https://github.com/hsnr-gamera/gamera-4.git
Prerequisites
To install Gamera, you need at least the third party software Python and wxPython:
- On MacOS X, these come preinstalled with the OS. To install Gamera, you need additionally the developer tools (aka Xcode Tools), which are not installed by default.
- Most Linux distributions provide precompiled packages for
all necessary prerequisites. On Ubuntu 7.10 for instance, you
can install all prerequistes with (the command must be entered on a single line):
sudo apt-get install g++ python python-dev python-wxgtk2.8 python-wxversion libtiff4-dev libpng12-dev python-docutils python-pygments
- On Windows, you must install the packages provided on the Python and wxPython homepages. If you use the Gamera binary installer for Windows, make sure that you install the appropriate Python version.
Note: Gamera up to version 3.x only works with Python 2.x. For Python 3.x, you will need gamera-4.
Installation
When all prerequisites are fulfilled, installing Gamera is as simple as typing the following command from the base directory of the Gamera source tree:
python3 setup.py bdist_wheel && sudo pip3 install ./dist/gamera-*-*.whl
See the Gamera Installation Howto for more information.
Documentation
When you have installed Gamera from the sources, you can generate the documentation from the doc subdirectory with the command (requires the Python modules docutils and pygments):
python3 gendoc.py
Alternatively, you can also download the documentation as .tar.gz.