XBMC will be renamed to Kodi for v14. Read here for more details
Various pages on the wiki might contain old references to "XBMC", but will most often still apply to "Kodi". Find out how you can help here.

HOW-TO:Compile XBMC on Debian or Ubuntu

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

Attention.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

2 Install Packages

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

sudo apt-get update

Then

sudo apt-get install automake autopoint bison build-essential ccache cmake curl cvs default-jre fp-compiler gawk gdc gettext git-core gperf libasound2-dev libass-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbluetooth-dev libbluray-dev libbluray1 libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcec-dev libcec1 libcrystalhd-dev libcrystalhd3 libcurl3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpostproc-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libshairport-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libswscale-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libva-egl1 libva-tpi1 libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite swig unzip yasm zip zlib1g-dev -y

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