@@ -11,39 +11,27 @@ those in Ubuntu, and more stable too since they're continuously built from
11
11
`Github repo `_ (master & stable branches) and so they contain the latest bug
12
12
fixes.
13
13
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:
17
15
18
- deb http://archive.scrapy.org/ubuntu DISTRO main
16
+ 1. Import the GPG key used to sign Scrapy packages into APT keyring.
19
17
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
22
19
23
- lsb_release -cs
20
+ 2. Create ` /etc/apt/sources.list.d/scrapy.list ` file using the following command.
24
21
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
26
23
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 `)
28
26
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
38
28
39
29
.. warning :: Please note that these packages are updated frequently, and so if
40
30
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 ``.
45
32
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.
47
35
48
36
.. _Scrapinghub : http://scrapinghub.com/
49
37
.. _Github repo : https://github.com/scrapy/scrapy
0 commit comments