Compile from source

From OpenELEC
Jump to: navigation, search

This guide will help you to build OpenELEC.

First of all, you need to have a recent Linux distribution (Fedora 15/16, Ubuntu 11.04/11.10/12.04, ARCH Linux, SuSE Linux) and at least 12 GB of free space.


Tools you'll need

Start by updating your system (on Ubuntu or other Debian-based distribution):

Note: Debian does not need "sudo" however the commands are identical once sudo is removed

Note: at least gcc-4.7 is required.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install make

Reconfigure to bash so we have best possible script compatibility

sudo dpkg-reconfigure dash

and select no, to install bash as the default

Then, install build tools

Ubuntu 14.04 +

you will need libxml-parser-perl

sudo apt-get install libxml-parser-perl

Download OpenELEC from Github

git clone

A new folder called will be created.

Start compiling

Be sure to have lot of free space - at least 12 GB. Better more than less.

In a terminal go to the folder that was just created


Then, to build:

PROJECT=Generic ARCH=x86_64 make release
to build OpenELEC for Generic x86 64 bits.

Take a break!

When the build completes, you will find the fresh build in the target directory of your build directory (the dir)

If you need to clean and start over do the following

make clean

and then start the build process again.

And now?

Dont forget to install your new or update your previous OpenELEC system with the new build, otherwise you cant enjoy your changes!


Personal tools
Wiki help