GenX - Installing
Author: Matts Bjorck
Description: How to install GenX
Keywords: differential evolution, reflectivity, x-ray, xray, neutron, diffraction, fitting, refinement

## Requirements

In order to install GenX python and a couple of packages for numerical computing and plotting has to be installed on the computer. These packages are usually simple to install on most modern operating systems. The packages needed are:

- Python newer than 2.3.5
- wxPython
- NumPy, version > 1.0
- Scipy, version > 0.5
- Matplotlib, version > 0.9

### Linux

Most Linux versions have a package manager where these packages can be installed. In fact GenX is developed on Ubuntu 8.04 with packages from the respiratory.

### Windows

For windows I personally recommend the Enthought Python Distribution (EPD). EPD contains all packages necessary to run GenX and I try to keep GenX fully compatible with that distribution. Otherwise one can always install the packages separately, all packages have install files for windows.

### Mac

On Mac OSX python could be installed already (Leopard) otherwise download it from pythonmac. Form there it is also possible to download wxPython. Then go to the bottom of the scipy download page and download the Scipy Superpack for Python 2.5.

## Installation

For GenX there are two alternatives either you download the last release (yet to come) from the box in the upper right corner. This is a zipped archive which you can extract to a suitable location. To start the program under windows just double click on the genx_gui.py file and the program should start. On Mac and Linux open a terminal in the unpacked folder and type `python genx_gui.py`.

For the more adventurous folks there is also the trunk version (the version I am currently developing) this has no guarantee that it will work. However it is the most updated version. It can be downloaded as a tarball (zipped tar file) from here. Yet another alternative is to access the svn repository itself with an svn client. For windows I would recommend tortoise svn on Linux machines svn is usually already installed and typing: `svn co https://genx.svn.sourceforge.net/svnroot/genx/trunk/genx genx` will download the latest revision into the folder genx.

Last updated:

## Content

- Requirements
- Installation