O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Raspbian

Book Description

Get up and running with Raspbian and make the most out of your Raspberry Pi

In Detail

The huge popularity of the Raspberry Pi has led to the development of many excellent operating systems such as Raspbian, which is the official operating system for Raspberry Pi. It is a Debian-based operating system that is specially optimized for the Raspberry Pi hardware.

With this book, you will be taken through starting Raspbian after its first boot and move on to learn about the different features of the Raspbian desktop. The book will then walk you through installing different software on your machine to make your work easier, familiarizing you with the console and teaching you how to interact with the Raspbian operating system. Finally, you will be equipped with ample information about other Linux distributions based on Raspbian.

Packed full of useful screenshots, this book is an excellent guide to the Raspbian operating system and will ensure your success with the Raspberry Pi!

What You Will Learn

  • Understand your Raspberry Pi and the different components that make up the Raspbian operating system
  • Set up and configure your Raspberry Pi
  • Download and install Raspbian onto an SD card suitable for the Raspberry Pi
  • Learn about the XFCE desktop environment that is bundled with Raspbian
  • Experiment with the different ways you can install software in Raspbian
  • Grasp the basics of the Linux command prompt

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Learning Raspbian
    1. Table of Contents
    2. Learning Raspbian
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    8. 1. The Raspberry Pi and Raspbian
      1. The Raspberry Pi
        1. The Raspberry Pi Foundation
      2. History of the Raspberry Pi
      3. The Raspberry Pi hardware
        1. Graphic capabilities
        2. The Raspberry Pi model
        3. Accessories
      4. Raspbian
        1. Debian
        2. Open source software
      5. Raspbian components
        1. The Raspberry Pi bootloader
        2. The Linux kernel
        3. Daemons
        4. The shell
        5. Shell utilities
        6. The X.Org graphical server
        7. The desktop environment
      6. Summary
    9. 2. Getting Started with Raspbian
      1. SD card specifications
      2. Downloading Raspbian
      3. Imaging Raspbian onto your SD card
        1. Writing the image using Windows
        2. Writing the image using Mac
        3. Writing the image using Linux
      4. Summary
    10. 3. Starting Raspbian
      1. Raspberry Pi Model A and Raspberry Pi Model B
      2. Raspberry Pi A+
      3. Raspberry Pi B+
      4. Plugging in your Raspberry Pi
        1. Power supply
        2. Monitor
        3. Keyboard and mouse
        4. SD card
        5. Network connection
      5. Booting your Raspberry Pi for the first time
        1. The bootloader
        2. The Linux kernel
      6. The Raspberry Pi Software Configuration Tool
        1. Setting up the Raspberry Pi
        2. Resizing the root filesystem of your Raspberry Pi
        3. Changing the default password for the Raspberry Pi
        4. Enable boot to Desktop/Scratch
        5. Internationalisation Options
          1. Adding your locale
          2. Selecting your time zone
          3. Changing your keyboard
        6. Enabling the Raspberry Pi camera
        7. Adding to Rastrack
        8. Enabling SSH
      7. Finishing up
      8. Common problems
      9. Summary
    11. 4. An Introduction to the Raspbian Desktop
      1. The Raspbian desktop
      2. The Raspbian filesystem
      3. A tour of the Raspbian desktop
        1. The desktop
        2. The bottom panel
        3. The main menu
        4. Panel items
      4. Virtual desktops
      5. Network management with Raspbian
        1. Connecting your Raspberry Pi to an Ethernet network
        2. Connecting your Raspberry Pi to a Wi-Fi network
        3. Connecting your Wi-Fi dongle to your Raspberry Pi
        4. Connecting to a wireless network
      6. Customizing your Raspbian desktop
        1. Changing your display resolution
          1. Customizing the look and feel of your desktop
        2. Openbox Configuration Manager
        3. Changing the default background picture
        4. Customizing your panels
          1. Adding a new panel
          2. Adding and removing panel items
      7. Preinstalled software
        1. Web browsers
          1. Epiphany
          2. Dillo
        2. Netsurf
        3. LXTerminal
          1. Sonic Pi
          2. Debian Reference
          3. Integrated Development Environment
          4. Scratch
          5. Minecraft Pi
          6. Pi Store
        4. Mathematica
          1. Other software included with Raspbian
      8. File management in Xfce
      9. Summary
    12. 5. Installing Software on Raspbian
      1. Package management in Linux
      2. Methods of installing software
        1. dpkg
        2. APT
          1. The main archive
          2. The contrib archive
          3. The non-free archive
          4. Package verification
      3. Using the console
        1. apt-get update
        2. apt-get install
        3. apt-get remove
        4. Searching for packages
      4. Synaptic GUI Package Manager
        1. Searching and installing packages in Synaptic
        2. Uninstalling packages using Synaptic
      5. The Pi Store
      6. Installing software from source
      7. Installing updates
        1. Installing updates using apt-get
        2. Installing updates using Synaptic
      8. Other software that you can install
        1. LibreOffice
        2. IceDove e-mail client
        3. IceWeasel
      9. Summary
    13. 6. The Console
      1. Bash
      2. Launching the bash command interpreter
      3. Basic bash commands
      4. The autocompletion of commands
      5. Running commands as root
      6. Moving around the filesystem using bash
        1. Absolute paths
        2. Relative paths
      7. Manipulating files
        1. ls
        2. cd
        3. pwd
        4. cat
        5. head and tail
        6. cp
        7. mv
        8. rm
        9. mkdir
        10. touch
        11. adduser
        12. addgroup
        13. passwd
          1. Changing your password
          2. Changing another user's password
        14. chown
        15. chmod
        16. Octal representation of permissions
      8. Redirection in bash
        1. > and >>
        2. <
      9. Environmental variables
      10. Basic scripting
        1. Rebooting and shutting down your Raspberry Pi
      11. Text editors
        1. nano
        2. vim
      12. Summary
    14. 7. Other Linux Distributions Based on Raspbian
      1. Raspbmc
      2. Volumio
      3. ThinBox
      4. PiPlay
      5. Torberry
      6. Kali
      7. Summary
    15. A. References
      1. Chapter 1, The Raspberry Pi and Raspbian
      2. Chapter 2, Getting Started with Raspbian
      3. Chapter 4, An Introduction to the Raspbian Desktop
      4. Chapter 5, Installing Software on Raspbian
      5. Chapter 6, The Console
      6. Chapter 7, Other Linux Distributions Based on Raspbian
    16. Index