Skip to content

Commit c104199

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#42 from askedrelic/master
Simplify the linux install instructions
2 parents 1fa10e6 + 3a65e06 commit c104199

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/starting/installation.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,11 @@ Older versions of Python aren't available from the official repository. However,
128128
Installing setuptools and pip
129129
-----------------------------
130130

131-
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::
132-
133-
.. XXX: sudo?
131+
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 ``distribute`` package and then ``pip``::
134132

135133
$ wget http://python-distribute.org/distribute_setup.py
136-
$ python distribute_setup.py
137-
$ wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
138-
$ python get-pip.py
139-
$ rm get-pip.py distribute_setup.py
134+
$ sudo python distribute_setup.py
135+
$ sudo easy_install pip
140136

141137
Now, most Python packages can be installed using the ``pip`` command. For example, if we wanted to install Django::
142138

0 commit comments

Comments
 (0)