2 Installation
Date: 2005-03-01 21:58:00

[next] [prev] [prev-tail] [tail] [up]

## Chapter 2
Installation

### 2.1 Getting TPG

#### 2.1.1 Source code

TPG is freely available on its web page ( http://christophe.delord.free.fr/en/tpg). It is distributed as a package using distutils1 .

#### 2.1.2 Debian package

TPG is no (yet) included in the official debian packet list but Mike O’Connor has kindly built a tpg packet. Just add the following line to /etc/apt/sources.list: deb http://vireo.org/debian/tpg/ binary/

TPG is also available at Logilab: deb ftp://ftp.logilab.org/pub/debian unstable/

### 2.2 Requirements

TPG is a pure Python package. It may run on any platform supported by Python. The only requirement of TPG is Python 2.2 or newer. Python can be downloaded at http://www.python.org.

### 2.3 TPG for Linux and other Unix like

Download TPG-X.Y.Z.tar.gz, unpack and run the installation program:

tar xzf TPG-X.Y.Z.tar.gz cd TPG-X.Y.Z python setup.py install

You may need to be logged as root to install TPG.

### 2.4 TPG for M$ Windows

Download TPG-X.Y.Z.win32.exe and run it. Since I only use Linux I provide this executable without testing.

### 2.5 TPG for other operating systems

TPG should run on any system provided that Python is installed. You should be able to install it by running the setup.py script (see 2.3).

[next] [prev] [prev-tail] [front] [up]