# Installation instructions

### Prerequisites

Before installing ELLIPT2D you need to have Python 2.2 or later, installed with Tkinter activated. On windows this is automatic as Python is is bundled with Tkinter and the Tcl/Tk DLLs. However, when installing Python on UNIX you need to make sure that the lines near _tkinter in Modules/Setup are commented out before installation (more on how to activate Tkinter can be found in the INSTALL file part of the Python source distribution). Also make sure to have Python.h available for instance under /usr/local/include/python*. (Some Linux Python distributions only provide executables and libraries.)

### Download

Click here to download Ellipt2d

### Source installation

The "freshest" version of ELLIPT2D is always available via the CVS repository http://sourceforge.net/cvs/?group_id=28885. You need a C compiler (typically gcc/g++ on Linux or Visual C/C++ on Windows) to build from source. The C compiler should the same as that used to build Python.

To build ELLIPT2D, enter the top ELLIPT2D directory and type "python setup.py build". If you have root access, then (as super user) type "python setup.py install". Otherwise just point your PYTHONPATH environment variable to the build/lib.[OS-platform-version] directory and you should be set.

### Windows installer

No need to have a C/C++ compiler in this case when selecting ellipt2d-x.x.win32-py*.exe.

The executables were compiled using VC 7 (.NET). Those who don't have the .NET run time environment installed will need to download msvcr70.dll from www.dll-files.com. Make sure to have the right permission set when unzipping msvcr70.zip (the WinZip program will take care of this). Then drop the msvcr70.dll file in C:\WINNT\system32 or equivalent.

Win98 users may in addition need to download mfc70.dll and mscoree.dll.