Skip to content

Instantly share code, notes, and snippets.

@WillSams
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WillSams/202dd07eaea69c188b7a to your computer and use it in GitHub Desktop.
Save WillSams/202dd07eaea69c188b7a to your computer and use it in GitHub Desktop.
Pygame installation on Debian/Ubuntu
cd ~/Projects/Python
#install dependencies
sudo apt-get install mercurial python-dev python-numpy libxine2-ffmpeg \
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
# Grab source
hg clone https://bitbucket.org/pygame/pygame
# Finally build and install
cd pygame
python setup.py build
sudo python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment