1 yum install SDL SDL-devel –y
2 yum install SDL_image* SDL_mixer* SDL_ttf* SDL_gfx* SDL_net* libjpeg-devel libpng-devel –y
3
4 wget http://www.digitalfanatics.org/cal/sge/files/sge030809.tar.gz
5 tar -xzf sge030809.tar.gz
6 cd sge030809
7 make && make install
8
9 wget http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz
10 tar -xvf pygame-1.9.1release.tar.gz
11 cd pygame-1.9.1release
12 python config.py
13 # Warning, some of the pygame dependencies were not found. Pygame can still
14 # compile and install, but games that depend on those missing dependencies
15 # will not run. Would you like to continue the configuration? [Y/n]: y
16 python setup.py install