Skip to content

Instantly share code, notes, and snippets.

@anson-vandoren
Last active February 11, 2021 22:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anson-vandoren/74a361b44f70cf8cde08b7fdfd0d2fcf to your computer and use it in GitHub Desktop.
Save anson-vandoren/74a361b44f70cf8cde08b7fdfd0d2fcf to your computer and use it in GitHub Desktop.
Installing Pygame on ARM chromebook (Samsung Chromebook 2)
  1. Install Linux (crostini)
  2. Update package manager lists
$ sudo apt-get update
  1. Install python3
$ sudo apt-get install python3 python3-pip
  1. Install dependencies
$ sudo apt-get install python3-dev python3-numpy libav-tools libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev build-essential
$ sudo apt-get install libfreetype6-dev pkg-config
  1. Install pygame
$ pip3 install pygame

References

Installing Linux and Python on Chromebook

Installing Pygame with pip on Chromebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment