Compile from source
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 https://github.com/OpenELEC/OpenELEC.tv.git
A new folder called OpenELEC.tv will be created.
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 releaseto 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 OpenELEC.tv dir)
If you need to clean and start over do the following
and then start the build process again.