288 Appendix B
- Search for python-pygame. Check the box next to python-
pygame in the search results and click Apply to complete the
installation. - Run System Tools 4 Terminal (or XTerm or a similar
application for your version of Linux). You can start Python 2
by entering python2 in the terminal window. Then test your
Pygame installation by entering import pygame at the >>> prompt
as shown in Figure B-14. Python should reply with >>> to let
you know that Pygame was successfully imported.
Figure B-14: You can test your installation of Pygame
for Python 2 from the Linux command line terminal.
- You can use the Software Center (as shown in “Python for
Linux” on page 276) or the Synaptic Package Manager shown
in Figure B-13 to search for and install IDLE for Python 2.
Use this version of IDLE when running the Pygame apps from
Chapters 8 through 10.