Skip to content

Commit b9232cd

Browse files
committed
Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 3990eff commit b9232cd

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

docs/install.txt

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,25 +109,29 @@ Install the Django code
109109
=======================
110110

111111
Installation instructions are slightly different depending on whether you're
112-
using the latest official version or the latest development version.
112+
installing a distribution-specific package, downloading the the latest official
113+
release, or fetching the latest development version.
113114

114-
It's easy either way.
115+
It's easy, no matter which way you choose.
115116

116-
Installing the official version
117-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117+
Installing a distribution-specific package
118+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118119

119-
1. Check the `distribution specific notes`_ to see if your
120-
platform/distribution provides official Django packages/installers.
121-
Distribution-provided packages will typically allow for automatic
122-
installation of dependancies and easy upgrade paths.
120+
Check the `distribution specific notes`_ to see if your
121+
platform/distribution provides official Django packages/installers.
122+
Distribution-provided packages will typically allow for automatic
123+
installation of dependancies and easy upgrade paths.
123124

124-
2. Download the latest release from our `download page`_.
125+
Installing an official release
126+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125127

126-
3. Untar the downloaded file (e.g. ``tar xzvf Django-NNN.tar.gz``).
128+
1. Download the latest release from our `download page`_.
127129

128-
4. Change into the downloaded directory (e.g. ``cd Django-NNN``).
130+
2. Untar the downloaded file (e.g. ``tar xzvf Django-NNN.tar.gz``).
129131

130-
5. Run ``sudo python setup.py install``.
132+
3. Change into the downloaded directory (e.g. ``cd Django-NNN``).
133+
134+
4. Run ``sudo python setup.py install``.
131135

132136
The command will install Django in your Python installation's ``site-packages``
133137
directory.

0 commit comments

Comments
 (0)