This guide is based on Debian's "Squeeze" release for Raspberry Pi. Mid July 2012 a new release called "Wheezy" has come out which would probably not require so many package updates.
Update python (2.x) to the latest release.
$ sudo apt-get install python-dev
$ sudo apt-get install python-dev
Install the latest RPi.GPIO module (0.3.1a). We will use easy_install to manage the python packages.
sudo apt-get install python-setuptools
sudo easy_install rpi.gpio
sudo apt-get install python-setuptools
sudo easy_install rpi.gpio
Install the ALSA sound utilities and a mp3 player.
$ sudo apt-get install alsa-utils
$ sudo apt-get install mpg321
$ sudo apt-get install alsa-utils
$ sudo apt-get install mpg321
Last updated on 2013-01-20 at 07.15.49 PM