2.5: Ubuntu and Linux Instructions

Making Games with Python and Pygame · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC-SA 3.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    2.5: Ubuntu and Linux Instructions

    Pygame for Linux also only supports Python 2, not Python 3. If your operating system is Ubuntu, you can install Python by opening a terminal window (from the desktop click on Applications > Accessories > Terminal) and entering "sudo apt-get install python2.7" then pressing Enter. You will need to enter the root password to install Python, so ask the person who owns the computer to type in this password if you do not know it.

    You also need to install the IDLE software. From the terminal, type in "sudo apt-get install idle". The root password is also needed to install IDLE (ask the owner of your computer to type in this password for you).


    This page titled 2.5: Ubuntu and Linux Instructions was last modified on Sun, 27 Oct 2019 23:27:10 GMT and is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Al Sweigart via source content that was edited to the style and standards of the LibreTexts platform.