Skip to content

Instantly share code, notes, and snippets.

@arthurlockman
Last active June 24, 2016 17:56
Show Gist options
  • Save arthurlockman/fcde5aea9c48d390b09b60653a7c405c to your computer and use it in GitHub Desktop.
Save arthurlockman/fcde5aea9c48d390b09b60653a7c405c to your computer and use it in GitHub Desktop.
Installing PyGame on RHEL 7.2

Installing PyGame on RHEL 7.2

  1. Install RepoForge Repository: http://repoforge.org/

  2. Install the EPEL repository: https://fedoraproject.org/wiki/EPEL

  3. Run these commands:

     sudo yum install python-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL-devel smpeg-devel numpy subversion portmidi-devel hg gcc
     hg clone https://bitbucket.org/pygame/pygame cd pygame
     python setup.py build
     sudo python setup.py install
    

This should install PyGame without issue on RHEL 7.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment