scrapy/docs/topics/ubuntu.rst

1.3 KiB

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>
orphan:Ubuntu packages are obsolete

Ubuntu packages

System Message: ERROR/3 (<stdin>, line 9)

Unknown directive type "versionadded".

.. versionadded:: 0.10

Scrapinghub publishes apt-gettable packages which are generally fresher than 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.

Caution!

These packages are currently not updated and may not work on Ubuntu 16.04 and above, see :issue:`2076` and :issue:`2137`.

System Message: ERROR/3 (<stdin>, line 16); backlink

Unknown interpreted text role "issue".

System Message: ERROR/3 (<stdin>, line 16); backlink

Unknown interpreted text role "issue".

To use the packages:

  1. Import the GPG key used to sign Scrapy packages into APT keyring:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
    
  2. Create /etc/apt/sources.list.d/scrapy.list file using the following command:

    echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list
    
  3. Update package lists and install the scrapy package:

    sudo apt-get update && sudo apt-get install scrapy
    

Note

Repeat step 3 if you are trying to upgrade Scrapy.

Warning

python-scrapy is a different package provided by official debian repositories, it's very outdated and it isn't supported by Scrapy team.

</html>