Skip to content

Commit eb73ddd

Browse files
committed
Update Ubuntu installation instructions
1 parent 7f30a67 commit eb73ddd

File tree

1 file changed

+11
-23
lines changed

1 file changed

+11
-23
lines changed

docs/topics/ubuntu.rst

+11-23
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,27 @@ those in Ubuntu, and more stable too since they're continuously built from
1111
`Github repo`_ (master & stable branches) and so they contain the latest bug
1212
fixes.
1313

14-
To use the packages, just add the following line to your
15-
``/etc/apt/sources.list``, and then run ``aptitude update`` and
16-
``apt-get install scrapy-0.22``::
14+
To use the packages:
1715

18-
deb http://archive.scrapy.org/ubuntu DISTRO main
16+
1. Import the GPG key used to sign Scrapy packages into APT keyring.
1917

20-
Replacing ``DISTRO`` with the name of your Ubuntu release, which you can get
21-
with command::
18+
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
2219

23-
lsb_release -cs
20+
2. Create `/etc/apt/sources.list.d/scrapy.list` file using the following command.
2421

25-
Supported Ubuntu releases are: ``precise``, ``quantal``, ``raring``.
22+
echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list
2623

27-
For Ubuntu Raring (13.04)::
24+
3. Update package lists and install `scrapy-VERSION`, replace `VERSION` by a
25+
known Scrapy version (i.e.: `scrapy-0.22`)
2826

29-
deb http://archive.scrapy.org/ubuntu raring main
30-
31-
For Ubuntu Quantal (12.10)::
32-
33-
deb http://archive.scrapy.org/ubuntu quantal main
34-
35-
For Ubuntu Precise (12.04)::
36-
37-
deb http://archive.scrapy.org/ubuntu precise main
27+
sudo apt-get update sudo apt-get install scrapy-VERSION
3828

3929
.. warning:: Please note that these packages are updated frequently, and so if
4030
you find you can't download the packages, try updating your apt package
41-
lists first, e.g., with ``apt-get update`` or ``aptitude update``.
42-
43-
The public GPG key used to sign these packages can be imported into you APT
44-
keyring as follows::
31+
lists first, e.g., with ``apt-get update``.
4532

46-
curl -s http://archive.scrapy.org/ubuntu/archive.key | sudo apt-key add -
33+
.. warning:: `python-scrapy` is a different package provided by official debian
34+
repositories, it's very outdated and it isn't supported by Scrapy team.
4735

4836
.. _Scrapinghub: http://scrapinghub.com/
4937
.. _Github repo: https://github.com/scrapy/scrapy

0 commit comments

Comments
 (0)