
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!
Содержание A
Страница 1: ......
Страница 2: ......
Страница 3: ...Raspberry Pi User Guide 2nd Edition...
Страница 4: ......
Страница 5: ...Raspberry Pi User Guide 2nd Edition Eben Upton and Gareth Halfacree...
Страница 10: ......
Страница 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...
Страница 28: ......
Страница 29: ...Chapter 1 Meet the Raspberry Pi...
Страница 37: ...Chapter 2 Getting Started with the Raspberry Pi...
Страница 56: ......
Страница 57: ...Chapter 3 Linux System Administration...
Страница 79: ...Chapter 4 Troubleshooting...
Страница 89: ...Chapter 5 Network Configuration...
Страница 109: ...Chapter 6 The Raspberry Pi Software Configuration Tool...
Страница 122: ......
Страница 123: ...Chapter 7 Advanced Raspberry Pi Configuration...
Страница 140: ......
Страница 141: ...Chapter 8 The Pi as a Home Theatre PC...
Страница 151: ...Chapter 9 The Pi as a Productivity Machine...
Страница 159: ...C H A P T E R 9 T H E P I A S A P R O D U C T I V I T Y M A C H I N E 143 Figure 9 4 Exporting a file from The Gimp...
Страница 160: ......
Страница 161: ...Chapter 10 The Pi as a Web Server...
Страница 171: ...Part III Programming with the Raspberry Pi Chapter 11 An Introduction to Scratch Chapter 12 An Introduction to Python...
Страница 172: ......
Страница 173: ...Chapter 11 An Introduction to Scratch...
Страница 189: ...Chapter 12 An Introduction to Python...
Страница 216: ......
Страница 218: ......
Страница 219: ...Chapter 13 Learning to Hack Hardware...
Страница 234: ......
Страница 235: ...Chapter 14 The GPIO Port...
Страница 249: ...Chapter 15 The Raspberry Pi Camera Module...
Страница 265: ...Chapter 16 Add on Boards...
Страница 279: ...Part V Appendixes Appendix A Python Recipes Appendix B Camera Module Quick Reference Appendix C HDMI Display Modes...
Страница 280: ......
Страница 281: ...Appendix A Python Recipes...
Страница 287: ...Appendix B Raspberry Pi Camera Module Quick Reference...
Страница 293: ...Appendix C HDMI Display Modes...