- Install Linux (crostini)
- Update package manager lists
$ sudo apt-get update
- Install python3
$ sudo apt-get install python3 python3-pip
- 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
- Install pygame
$ pip3 install pygame