From 677afe7e540be14124c3cd1a11c7f91aa2522561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 20 Jan 2014 16:22:53 -0200 Subject: [PATCH] show ubuntu setup instructions as literal code --- docs/topics/ubuntu.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/ubuntu.rst b/docs/topics/ubuntu.rst index c0e3f547b..7fb1c8b34 100644 --- a/docs/topics/ubuntu.rst +++ b/docs/topics/ubuntu.rst @@ -13,16 +13,16 @@ fixes. To use the packages: -1. Import the GPG key used to sign Scrapy packages into APT keyring. +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. +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 `scrapy-VERSION`, replace `VERSION` by a - known Scrapy version (i.e.: `scrapy-0.22`) + known Scrapy version (i.e.: `scrapy-0.22`:: sudo apt-get update && sudo apt-get install scrapy-VERSION