Skip to content

Commit 02180e8

Browse files
committed
Better procedure for linux.
1 parent ab16da2 commit 02180e8

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

docs/starting/installation.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ To install pip, simply run: ::
121121
Linux (Ubuntu)
122122
::::::::::::::
123123

124-
Natty Narwhal, the latest version of Ubuntu, **comes with Python 2.7 out of the box**. Python 3.0 can be installed and run with the following commands::
124+
Oneiric Ocelot, the latest version of Ubuntu, **comes with Python 2.7 out of the box**. Python 3.2 can be installed and run with the following commands::
125125

126126
$ sudo apt-get install python3-minimal
127127
$ python3
@@ -138,10 +138,13 @@ Installing setuptools and pip
138138

139139
While Python has an extensive standard library, the set of packages available from the Internet is even more extensive. In order to install them easily, we'll install the ``setuptools`` package and ``pip`` installer::
140140

141-
$ sudo apt-get install python-setuptools
142-
$ sudo easy_install virtualenv
141+
.. XXX: sudo?
143142
144-
(You could get ``pip`` by itself by typing ``sudo easy_install pip``, but it comes with ``virtualenv``, which you'll most likely use later anyway.)
143+
$ wget http://python-distribute.org/distribute_setup.py
144+
$ python distribute_setup.py
145+
$ wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
146+
$ python get-pip.py
147+
$ rm get-pip.py distribute_setup.py
145148
146149
Now, most Python packages can be installed using the ``pip`` command. For example, if we wanted to install Django::
147150

0 commit comments

Comments
 (0)