Installing Kodi on a Raspberry Pi

Installing Kodi on a Raspberry Pi

Kodi (formerly known as XBMC) is an open source media centre software and is available in different forms for all major operating systems. XBian and OpenELEC are widely popular Kodi-embedded media centre distributions to use on the Raspberry Pi.

This is an ongoing post. Please suggest corrections, explanations, etc. in the comment section at the bottom of this page.

With its HDMI port, network connectivity and multiple USB ports, the newer versions of the Raspberry Pi have all the hardware needed to be used as a media centre device. With the appropriate distributions of XBian and OpenELEC, the Raspberry Pi is turned into a stand-alone, Kodi-embedded media centre. Both XBian and OpenELEC has distributions for all the Raspberry Pi models available.

Before continuing, you might also want to see the things you’ll need for your first Raspberry Pi build.

XBian vs. OpenELEC

XBian and OpenELEC are both free, Kodi-embedded, Linux-based operating systems. XBian is built on a reduced version of Debian and OpenELEC (Open Embedded Linux Entertainment Center) is built on JeOS, or “just enough operating system”.

Installing Kodi onto a Raspberry Pi

Both distributions are fast, lightweight and fairly small to download, but OpenELEC is about quarter of the size of XBian. The download files are ~100 Mb vs. ~400 Mb in size. Although OpenELEC has everything one would expect from a decent media centre, it is limited to the stable abilities of Kodi, whereas XBian is more lenient towards development progress.

The recommended installation process differs between XBian and OpenELEC. Whereas OpenELEC is installed the same as installing most other Raspberry Pi operating systems, XBian has its own installation tool.

Installing Kodi onto a Raspberry Pi

After choosing which distribution to use, the appropriate image file (see below) needs to be downloaded and installed onto a FAT32 formatted MicroSD card. For this, a SD card formatting software tool and a SD card reader will be needed. Additionally, in the case of OpenELEC, a disk imaging software tool or, in the case of XBian, the XBian Installer tool will be needed.

The process will need a PC with an existing operating system that is compatible with the software tools. In this case, Windows 10 was used to format, copy and/or install the operating system onto the MicroSD card. Initially, the Raspberry Pi will need a screen, keyboard and mouse. Connectivity to the internet and local network (LAN) in the form of an Ethernet connection or Wi-Fi will be required.

Formatting the MicroSD card

Raspberry Pi operating systems needs to be installed on a FAT32 formatted SD card. Before using the disk imaging software tool the MicroSD card needs to be formatted using a SD card formatting software tool and a MicroSD card reader. For this post, SD Association’s SD Memory Card Formatter was used.

SD Memory Card Formatter

After inserting the MicroSD card into the SD card reader/PC, SD Memory Card Formatter can either be used to do a Quick format or a Overwrite format. Any one of the two can be selected. The Volume label does not matter at this point in time. Note that everything on the SD card will be deleted after this operation.

Installing OpenELEC on a Raspberry Pi

OpenELEC on the Raspberry Pi

The appropriate distribution of OpenELEC is installed onto a formatted SD card as an image file using a disk imaging software tool. For this post, Win32DiskImager was used. OpenELEC has specific image files available for Raspberry Pis. Also make sure choose the image file that is appropriate for the Raspberry Pi model used. The distribution file is downloaded as a compressed .img file and is about 100 Mb.

From Win32DiskImager, the location of the uncompressed .img file is selected by using the browse (folder icon) button and the drive letter of the SD card is choosable under Device. None of the other settings needs to be changed. The image is written to the SD card by using the Write (as suppose to the Read) button.

After writing to the SD card was successfully completed and its safe removal, the SD card can be inserted into the Raspberry Pi where it will boot into OpenELEC. During the first boot, OpenELEC will guide the user through a Kodi setup process.

Installing XBian on a Raspberry Pi

Xbian on the Raspberry Pi

The appropriate distribution of XBian is downloaded and installed directly onto a SD card using the XBian Installer tool. The installer tool is available for Windows, OSX and Linux.

XBian Installer Version 1.4

From the XBian Installer tool, the appropriate model of the Raspberry Pi is selected, after which the version and location is to be selected. ‘XBian Latest‘ will be fine for most installs.

XBian Installer tool settings

After pressing the Install button, the installer tool will ask ask about Download XBian and erasing the current data on the SD card. Choose Yes in both cases.

After the installation process has been completed and its safe removal, the SD card can be inserted into the Raspberry Pi where it will boot into XBian. During the first boot, XBian will guide the user through the hardware settings and the Kodi setup process. During this process the downloading and installation of XBian will also be completed.

About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.
Behind the Scenes is a free, informative website. If you find value in any of our content, please consider making a donation to our cause.
Donate via PayPal

Save, share & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a knob. Keep it constructive and polite.

Comment via Disqus

Disqus is a worldwide comment hosting service for web sites and online communities. This secure platform ensures a pleasant commenting environment which is manageable from one account. Use the Login button to sign up.

More Kodi media centre related posts

Fiverr – Freelance services marketplace for the lean entrepreneur
Fiverr – Freelance services marketplace for the lean entrepreneur
29 May 2020
Ad: Fiverr is the world’s largest freelance services marketplace for entrepreneurs to focus on growth & create a successful business at affordable costs. More…
Raspberry Pi media centre
Using a Raspberry Pi as a cheap media centre
2 March 2019
With a plethora of mini media centre boxes becoming readily available, it comes as no surprise that open source platforms are also available for this purpose. Kodi is one such platform and it is available to be installed onto a Raspberry Pi. More…
KodiRaspberry Pi