
P A R T I
C O N N E C T I N G T H E B O A R D
36
First, you’ll need to decide which Linux distribution you would like to use with your Raspberry
Pi. Each has its advantages and disadvantages. Don’t worry if you change your mind later
and want to try a different version of Linux: an SD card can be flashed again with a new oper-
ating system at any point, and if you choose you can have multiple cards each with a differ-
ent operating system installed.
The most up-to-date list of Linux releases compatible with the Pi is available from the
Raspberry Pi website at
http://www.raspberrypi.org/downloads
.
The Foundation provides
BitTorrent
links for each distribution. These are small files that can
be used with BitTorrent software to download the files from other users. Using these links is
an efficient and fast way to distribute large files, and keeps the Foundation’s download serv-
ers from becoming overloaded.
To use a BitTorrent link, you’ll need to have a compatible
client
installed. If you don’t already have
a BitTorrent client installed, download one and install it before trying to download the Raspberry
Pi Linux distribution. One client for Windows, OS X and Linux is µTorrent, available from
http://www.utorrent.com/downloads
.
Which distribution you choose to download is up to you. Instructions in the rest of the book will
be based on the Raspbian Raspberry Pi distribution, a good choice for beginners. Where possible,
we’ll give you instructions for other distributions as well.
Linux distributions for the Raspberry Pi are provided as a single
image file
, compressed to make it
faster to download. Once you’ve downloaded the Zip archive (a compressed file, which takes less
time to download than the uncompressed files would) for your chosen distribution, you’ll need to
decompress it somewhere on your system. In most operating systems, you can simply double-
click the file to open it, and then choose Extract or Unzip to retrieve the contents.
After you’ve decompressed the archive, you’ll end up with two separate files. The file ending in
sha1
is a
hash
, which can be used to verify that the download hasn’t been corrupted in transit.
The file ending in
img
contains an exact copy of an SD card set up by the distribution’s creators in
a way that the Raspberry Pi understands. This is the file that needs to be flashed to the SD card.
WARNING
In the following instructions, you’ll be using a software utility called
dd
. Used incorrectly,
dd
will happily write the image to your main hard drive, erasing your operating system and all
your stored data. Make sure you read the instructions in each section thoroughly and note the
device address of your SD card carefully. Read twice, write once!
Summary of Contents for A
Page 1: ......
Page 2: ......
Page 3: ...Raspberry Pi User Guide 2nd Edition...
Page 4: ......
Page 5: ...Raspberry Pi User Guide 2nd Edition Eben Upton and Gareth Halfacree...
Page 10: ......
Page 26: ...R A S P B E R R Y P I U S E R G U I D E S E C O N D E D I T I O N 10...
Page 28: ......
Page 29: ...Chapter 1 Meet the Raspberry Pi...
Page 37: ...Chapter 2 Getting Started with the Raspberry Pi...
Page 56: ......
Page 57: ...Chapter 3 Linux System Administration...
Page 79: ...Chapter 4 Troubleshooting...
Page 89: ...Chapter 5 Network Configuration...
Page 109: ...Chapter 6 The Raspberry Pi Software Configuration Tool...
Page 122: ......
Page 123: ...Chapter 7 Advanced Raspberry Pi Configuration...
Page 140: ......
Page 141: ...Chapter 8 The Pi as a Home Theatre PC...
Page 151: ...Chapter 9 The Pi as a Productivity Machine...
Page 160: ......
Page 161: ...Chapter 10 The Pi as a Web Server...
Page 172: ......
Page 173: ...Chapter 11 An Introduction to Scratch...
Page 189: ...Chapter 12 An Introduction to Python...
Page 216: ......
Page 218: ......
Page 219: ...Chapter 13 Learning to Hack Hardware...
Page 234: ......
Page 235: ...Chapter 14 The GPIO Port...
Page 249: ...Chapter 15 The Raspberry Pi Camera Module...
Page 265: ...Chapter 16 Add on Boards...
Page 280: ......
Page 281: ...Appendix A Python Recipes...
Page 287: ...Appendix B Raspberry Pi Camera Module Quick Reference...
Page 293: ...Appendix C HDMI Display Modes...