LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (http://www.linuxquestions.org/questions/linux-games-33/)
-   -   Installing pygame in red hat linux (http://www.linuxquestions.org/questions/linux-games-33/installing-pygame-in-red-hat-linux-763429/)

cleve23 10-21-2009 07:45 AM

Installing pygame in red hat linux
 
Hi,i just learn that python can be use to write game using pygame. But i have problem installing it on red hat linux.Can anyone tell me how to install pygame? Thanks :D

pixellany 10-21-2009 08:05 AM

Maybe by downloading it from their website?? Do they have instructions there.

If you have already tried it, then tell us what the problem was.....

http://www.pygame.org/news.html

knudfl 10-21-2009 03:07 PM

Redhat EL 5.x : "pygame" is in the rpmforge.repo .
# yum install python-game
.. the version is 1.8.1 ...

Or http://www.pygame.org/news.html ref. @pixellany
> http://www.pygame.org/ftp/pygame-1.8.1release.tar.gz
.. version 1.9.1 cannot be build on Redhat EL 5.x, AFAIK.

> > 1) tar xvf pygame-1.8.1release.tar.gz
2) cd pygame-1.8.1release
3) su
4) yum install \
smpeg-devel SDL_ttf-devel SDL_image-devel SDL_mixer-devel \
libpng-devel libjpeg-devel python-devel
( smpeg-devel is in the rpmfusion-free-updates-testing repo.)
5) python setup.py install
.....

cleve23 10-22-2009 08:32 AM

Thanks for the suggested advice. i have manage to use pygame. :D Thanks alot.


All times are GMT -5. The time now is 02:35 AM.