Linux command line as well as navigate through the LXDE GUI. You know about various Debian and
Raspbian documentation resources, and you know how to update the software packages on your
Raspberry Pi. Now that you have looked around your Pi, in Hour 3, “Setting Up a Programming
Environment,” you will learn how to set up and explore the Python programming environment.
Q&A
Q. I don’t like entering commands at the Linux command line. Do I have to do this?
A. Nope. The LXDE GUI can handle a lot of the commands you enter at the Linux command line.
However, if you know how to use both the command line and the GUI, you will have the most
flexibility and troubleshooting capabilities.
Q. Can I install a different graphical interface besides LXDE?
A. Yes, you can! Some Raspberry Pi users prefer the Xfce desktop. See
http://www.raspbian.org/RaspbianForums for help on obtaining a new interface.
Q. Does this book focus on Python programming in the command line or the GUI?
A. The book primarily focuses on teaching you Python programming using the GUI. (You can
breathe a sigh of relief now.)
Workshop
Quiz
1. Raspbian is based on the Debian distribution, with Linux at its core. True or false?
2. Which command entered at the Linux command line will reboot your Raspberry Pi?
a. reboot
b. restart
c. sudo reboot
3. Which graphical interface desktop environment comes with Raspbian by default?
Answers
1. True. Raspbian is based on the Debian Linux distribution.
2. To reboot your Raspberry Pi from the command line, enter the command sudo reboot.
3. The Lightweight X11 Desktop Environment (LXDE) graphical interface comes with Raspbian
by default.