Python come pre-installed with most of the linux version. To install the TurboGear pack just type
- yum install TurboGears
This will install the TurboGears package on your system. Use the following command to check if the installation was success.
- tg-admin info
Now we will install easy_install utility that will make the installation of other TurboGear modules a breeze.
To install easy_install utility download the ez_setup.py script and run it.
- python ez_setup.py
This will install the easy_install utility on your system.
Some of the turbo gear modules that are necessary are SQLObject and database specific modules ( as mysql-python ).You can install these by simply invoking the easy_install utility with the module name as parameter.
- easy_install SQLObject
- easy_install mysql-python
Your TurboGear setup is ready for use.
Have a look at the following tutorial for getting started with TurboGears.
Filed under: Uncategorized