[r40]: tags / 0.5.1 / docs / download / nix.html Maximize Restore History

Download this file

nix.html    48 lines (32 with data), 2.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python import content ?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="'dltemplate.kid'">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<link rel="stylesheet" type="text/css" href="style.css" py:attrs="href=root+'style.css'"/>
<title>TurboGears: Installation on *nix-Like Systems</title>
</head>
<body>
<h1>TurboGears Installation on Linux, Mac OS X and other *nix-Like Systems</h1>
<p>TurboGears requires Python 2.4 currently.</p>
<ul>
<li><a href="#ezsetup">I don't have setuptools/Easy Install yet</a></li>
<li><a href="#easyinstall">I have Easy Install</a></li>
</ul>
<h2><a name="ezsetup"></a>Installation with ez_setup</h2>
<p>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!</p>
<div py:def="superuser"><p>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.</p>
<p>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.</p></div>
<div py:replace="superuser()"/>
<ol>
<li>Download the <a href="ez_setup.py" target="_blank">ez_setup.py</a> script.</li>
<li>Run <code>sudo python ez_setup.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears</code></li>
</ol>
<div py:replace="congrats()"/>
<h2><a name="easyinstall"></a>Installation with Easy Install</h2>
<div py:replace="superuser()"/>
<p>Here we go! One command to get you up and running:</p>
<p class="command"><code>sudo easy_install.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears</code></p>
<div py:replace="congrats()"/>
</body>
</html>