HOW-TO:Compile Kodi for Debian or Ubuntu

This is a tutorial on how to compile and install XBMC on Debian or Ubuntu

Checkout with Git
Development has moved to git, rather than subversion. You will need git installed to do this.

Note that the above will download the latest development version; if you want to compile a stable branch, you will need to name it explicitly. e.g. to clone Kodi 14.1 "Helix":

Install Packages
You'll have to install the necessary dependencies. First do this.

Then

Configure
If you wish to use supported system libraries do this instead.

In either case, with the above installed packages this should go smoothly.

Install
When this completes you are done!

You may either go into a terminal session or press. Then type 'xbmc'.

NOTE: On certain versions of Ubuntu, you may get a segmentation fault due to libcurl. This is resolved by creating a symbolic link in /usr/lib