TurboGears Installation on Linux, Mac OS X and other *nix-Like Systems

TurboGears requires Python 2.4 currently.

Installation with ez_setup

Even though you don't have Easy Install yet, you can still take advantage of it. Instead of one-command installation, it will be two-step installation. And, you'll have Easy Install for the next update!

The instructions below will install into the primary system locations for Python modules. On many systems, this requires superuser access. So, performing the installation below will require you to enter your password. If your system does not have sudo installed or configured properly, you can su to the superuser account and then run the command.

Note that on some Linux systems (Ubuntu, for example), you may need to install a "python-dev" packages in order for everything to compile correctly.

  1. Download the ez_setup.py script.
  2. Run sudo python ez_setup.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears

Installation with Easy Install

Here we go! One command to get you up and running:

sudo easy_install -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears