2010-08-23 21:28:32 -03:00
|
|
|
.. _topics-ubuntu:
|
|
|
|
|
|
|
|
===============
|
|
|
|
Ubuntu packages
|
|
|
|
===============
|
|
|
|
|
2010-09-04 03:30:45 -03:00
|
|
|
.. versionadded:: 0.10
|
|
|
|
|
2012-05-02 03:25:35 -03:00
|
|
|
`Scrapinghub`_ publishes apt-gettable packages which are generally fresher than
|
2011-09-25 13:06:24 -03:00
|
|
|
those in Ubuntu, and more stable too since they're continuously built from
|
|
|
|
`Github repo`_ (master & stable branches) and so they contain the latest bug
|
|
|
|
fixes.
|
2010-08-23 21:28:32 -03:00
|
|
|
|
2010-12-21 11:02:56 -02:00
|
|
|
To use the packages, just add the following line to your
|
2013-10-29 13:44:00 -02:00
|
|
|
``/etc/apt/sources.list``, and then run ``aptitude update`` and
|
|
|
|
``apt-get install scrapy-0.18``::
|
2010-12-21 11:02:56 -02:00
|
|
|
|
|
|
|
deb http://archive.scrapy.org/ubuntu DISTRO main
|
|
|
|
|
|
|
|
Replacing ``DISTRO`` with the name of your Ubuntu release, which you can get
|
|
|
|
with command::
|
|
|
|
|
|
|
|
lsb_release -cs
|
|
|
|
|
2013-10-29 13:44:00 -02:00
|
|
|
Supported Ubuntu releases are: ``precise``, ``quantal``, ``raring``.
|
2013-08-22 21:49:18 -03:00
|
|
|
|
|
|
|
For Ubuntu Raring (13.04)::
|
|
|
|
|
|
|
|
deb http://archive.scrapy.org/ubuntu raring main
|
|
|
|
|
|
|
|
For Ubuntu Quantal (12.10)::
|
|
|
|
|
|
|
|
deb http://archive.scrapy.org/ubuntu quantal main
|
2012-05-12 19:54:36 -03:00
|
|
|
|
|
|
|
For Ubuntu Precise (12.04)::
|
|
|
|
|
|
|
|
deb http://archive.scrapy.org/ubuntu precise main
|
2011-10-25 14:26:38 -02:00
|
|
|
|
2010-08-23 21:28:32 -03:00
|
|
|
.. warning:: Please note that these packages are updated frequently, and so if
|
|
|
|
you find you can't download the packages, try updating your apt package
|
|
|
|
lists first, e.g., with ``apt-get update`` or ``aptitude update``.
|
|
|
|
|
|
|
|
The public GPG key used to sign these packages can be imported into you APT
|
|
|
|
keyring as follows::
|
|
|
|
|
2010-09-05 19:04:15 -03:00
|
|
|
curl -s http://archive.scrapy.org/ubuntu/archive.key | sudo apt-key add -
|
2010-08-23 21:28:32 -03:00
|
|
|
|
2012-05-02 03:25:35 -03:00
|
|
|
.. _Scrapinghub: http://scrapinghub.com/
|
2011-09-25 13:06:24 -03:00
|
|
|
.. _Github repo: https://github.com/scrapy/scrapy
|