LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices



Reply
 
Search this Thread
Old 10-21-2009, 08:45 AM   #1
cleve23
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Rep: Reputation: 0
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
 
Old 10-21-2009, 09:05 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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
 
Old 10-21-2009, 04:07 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
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
.....

Last edited by knudfl; 10-22-2009 at 01:32 AM.
 
Old 10-22-2009, 09:32 AM   #4
cleve23
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the suggested advice. i have manage to use pygame. Thanks alot.
 
  


Reply

Tags
python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing RED HAT linux malachipunith Red Hat 2 07-24-2006 07:55 PM
Help installing pygame Mike2001 Linux - Software 1 09-11-2004 07:12 PM
installing red hat linux nitin403 Red Hat 3 07-25-2004 07:19 PM
Installing Red hat Linux 8.0 piggysmile Linux - Newbie 1 04-25-2004 09:49 AM
Help installing Red Hat Linux bryanthebold Red Hat 6 11-17-2003 11:54 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration