Install XBMC On Ubuntu 11.04 “Natty Narwhal”
Installing XBMC on Natty doesn’t work well because there is no stable XBMC ppa for Natty (yet). There is an unstable ppa but that doesn’t seem to work well either. What you can do for now is install XBMC using the ppa for Ubuntu 10.10 and change the distribution from Natty to Maverick.
This ppa is still unstable and to install XBMC on Ubuntu 11.04 i recommend you to install XBMC using the ppa for Ubuntu 10.10. Please use this script to install a stable and working version of XBMC.
First you need to add the following line to your software sources:
sudo add-apt-repository ppa:team-xbmc
To add the line open a terminal window (press Alt+F2 and type: gnome-terminal) and copy+paste the line into the terminal window.
Press Alt+F2 and type: update-manager then click on Settings. Under the Other Software tab highlight the xbmc ppa and click edit. Look for the distribution and change natty into maverick. Click on the OK button, reload the sources list and close your Update Manager.
To install XBMC copy+paste the following lines in your terminal window:
sudo apt-get update
sudo apt-get install xbmc
To start XBMC press Alt+F2 and type: xbmc
Here is a script that will do all the work for you:
simple script to install xbmc