A little background first.
I got my Raspberry Pi on Tuesday and I instantly wanted to get it up and running, do things that I had seen in YouTube videos, and generally have a bit of background I knew I could use when I suddenly came up with an idea or experiment. After connecting something to every available port except the composite video (I assume you have done the same and connected the Ethernet, Mouse/KB to USB, HDMI, 3.5mm audio, >2GB SD Card with the recommended Debian Squeeze distro. and the all important microUSB power) I managed to get a screen up that is almost all blank (after logging in with username: pi, password: raspberry) except for the prompt:
This isn’t as exciting as I was expecting. I remembered the download page saying that it has the LXDE window manager (lightweight X11 desktop environment) so i typed
lxde and pressed tab twice (to make it suggest auto-completion) and I got given a list of commands/files that didn’t mean anything. I googled for a while before I found what I wanted; the command to start the X11 server!
Once you press that, it fires up X and loads LXDE 🙂 You can open a web browser, play some games and do word processing. Keep an eye on the CPU graph in the bottom right corner to see how much its being stressed!
The friend I was with was pretty adamant that we should make progress on getting XBMC working straight away, so I researched how to get the current ARM port and install it on the system and we did it! Warning: this doesn’t do anything impressive, there aren’t any graphics drivers included in the debian distribution on the website so XBMC says something along the lines of
'There are no graphics drivers... Quitting in 5, 4, 3, 2, 1.' But perhaps this will work in the future, so here’s how to get XBMC installed on the Debian Squeeze distribution:
If you’re in LXDE already, then press CTRL + ALT + F3 (press CTRL + ALT + F2 to get back to LXDE) to get a new terminal displayed. Login and start typing the commands:
Firstly, we need to add a repository for the binaries to the sources.list (this is a debian specific thing for aptitude, the package manager) Type this in the command line and we should be good to go:
echo "deb http://www.deb-multimedia.org squeeze main non-free" >> /etc/apt/sources.list
Then we need to get hold of the GPG key for this repository so the Pi trusts it, so we do this:
dpkg -i deb-multimedia-keyring_2012.05.05_all.deb
Now we have to tell the Pi to go and have a look what’s available and updated in the whole of our system (which now includes this new repository) so type this (you should get prompted for your password, raspberry):
sudo apt-get update
If we didn’t get any errors then we are ready to install XBMC! It’s as simple as:
sudo apt-get install xbmc
It’ll do a search for what it needs and then ask you if you want to install lots of things, type Y and press enter to start the process! It took about 20 mins for me, and then goes back to the bash prompt afterwards.
Only one thing left to do! Type
xbmc and press enter and fire it up!