HOW-TO:Compile Kodi for Debian or Ubuntu

From Official Kodi Wiki
Jump to: navigation, search
Home icon grey.png   ▶ Development ▶ Compiling ▶ HOW-TO:Compile Kodi for Debian or Ubuntu

Emblem-important-yellow.png NOTICE:
This page is being depreciated for individual how-to's on Debian and Ubuntu.

See HOW-TO:Compile XBMC for Ubuntu and HOW-TO:Compile XBMC for Debian

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

Contents

1 Checkout with Git

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

sudo apt-get install git
git clone git://github.com/xbmc/xbmc.git

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 16.0 "Jarvis":

sudo apt-get install git
git clone -b Jarvis git://github.com/xbmc/xbmc.git

2 Install Packages

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

sudo apt-get update

Then

sudo apt-get build-dep kodi

3 Configure

cd xbmc
./bootstrap
./configure

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

./configure

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

4 Build

make

5 Install

sudo make install

When this completes you are done!


You may either go into a terminal session or press Alt+F2. 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

cd /usr/lib
sudo ln -s libcurl-gnutls.so.4 libcurl.so.4

6 See also

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox