LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 08:05 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 03:07 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 12:32 AM.
 
Old 10-22-2009, 08: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



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 06:55 PM
Help installing pygame Mike2001 Linux - Software 1 09-11-2004 06:12 PM
installing red hat linux nitin403 Red Hat 3 07-25-2004 06:19 PM
Installing Red hat Linux 8.0 piggysmile Linux - Newbie 1 04-25-2004 08:49 AM
Help installing Red Hat Linux bryanthebold Red Hat 6 11-17-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:31 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
Open Source Consulting | Domain Registration