This page describes how to install XBMC on a Raspberry Pi running Raspbian. You can either install packages on an existing Raspbian installation, or you can download a prebuilt image and flash it to an SD card.
Installing packages on an existing installation
I've published a Debian archive containing packages for Kodi/XBMC and some dependencies which it requires. This can be setup on an existing Raspbian installation (including the foundation image).
The easiest way to install the package is to add my archive to your system. To do this, store the
deb http://archive.mene.za.net/raspbian wheezy contrib
and import the archive signing key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
Then update the package lists:
sudo apt-get update
You can then install it as you would with any other package, for example, with
sudo apt-get install kodi
The user which you're going to run Kodi as needs to be a member of the following groups:
audio video input dialout plugdev tty
input group doesn't exist, you need to create it:
addgroup --system input
and setup some udev rules to grant it ownership of input devices (otherwise the keyboard won't work in Kodi), by placing the following in
SUBSYSTEM=="input", GROUP="input", MODE="0660"
KERNEL=="tty[0-9]*", GROUP="tty", MODE="0660"
The GPU needs at least 96M of RAM in order for XBMC to run. To configure this add or change this line in
You will need to reboot if you changed this value.
To run XBMC, run
kodi-standalone from a VT (i.e. not under X). XBMC accesses the display directly
and not via Xorg.
If you want Kodi to automatically start when the system boots, edit
/etc/default/kodi and change
sudo service kodi start to test this.
14.1-1: Helix 14.1 release
14.0-1: Helix 14.0 release.
13.1-2: Link to libshairplay for better AirPlay support.
13.1-1: Gotham 13.1 release.
12.3-1: Frodo 12.3 release.
12.2-1: Frodo 12.2 release.
12.1-1: Frodo 12.1 release. Requires newer
libcec (also in my archive).
12.0-1: Frodo 12.0 release.
This build requires newer firmware than the raspberrypi.org archive or image contains. Either install the packages from the raspberrypi.org untested archive, the twolife archive or use (Not necessary as of 2013/02/11.)
Flashing an SD card with a prebuilt image
I've built an image containing a Raspbian system with the XBMC packages which you can download
and flash to an SD card. You'll need a 1G SD card (which will be completely wiped).
Decompress the image using
% unxz raspbian-xbmc-20121029.img.xz
And then copy the image to the SD card device (make sure that you pick the correct device name!)
% sudo cp xbmc-20121029-1.img /dev/sdb
The image uses the same credentials as the foundation image, username "pi" and password "raspberry". You can use the
raspi-config tool to expand the root filesystem, enable overclocking, and various other configuration tasks.
Both Raspbian and Kodi can be updated using normal Debian mechanisms such as
# sudo apt-get update
# sudo apt-get dist-upgrade
I've started building packages for the upcoming Helix release. These are in the new
unstable section of the archive. To install these packages update your source list to look like this:
deb http://archive.mene.za.net/raspbian wheezy contrib unstable
14.0-1: Helix 14.0 release.
14.0~git20141203.35b4f38-1: Helix 14.0 RC 2
14.0~git20141130.ea20b83-1: Helix 14.0 RC 1
14.0~git20141125.4465fbf-1: Helix 14.0 Beta 5
14.0~git20141124.ec361ca-1: Helix 14.0 Beta 4
14.0~git20141116.88a9a44-1: Helix 14.0 Beta 3
14.0~git20141103.d6947be-1: Helix 14.0 Beta 1. This requires firmware as of 2014/10/06 and libcec 2.2.0 (both included in the archive). There are also builds for Jessie but I haven't tested them. PVR addons are also updated.
14.0~git20141002.d2a4ee9-1: Helix 14.0 Alpha 4
Trackback URL for this post: