Last active
August 29, 2015 14:17
-
-
Save WillSams/202dd07eaea69c188b7a to your computer and use it in GitHub Desktop.
Pygame installation on Debian/Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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