XBMC will be renamed to Kodi for v14. Read here for more details

HOW-TO:Install XBMC for Linux

From Kodi
Jump to: navigation, search
Home icon grey.png   ▶ Installing
▶ Linux
▶ HOW-TO:Install XBMC for Linux

These are instructions for people who already have a Linux-based OS setup. If you have not installed a Linux-based OS yet, you might wish to try out XBMCbuntu which will install both the OS and XBMC with an easy installer.

Contents

1 Official Team Kodi/XBMC repositories

1.1 Ubuntu

Simple Install Instructions
Note: Click here to find out how to use the terminal.

Use the command line terminal and enter the following commands. Follow the prompts as you would any other software installation.

sudo apt-get install python-software-properties pkg-config
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install xbmc


The XBMC repositories are as follows:

https://launchpad.net/~team-xbmc/+archive/ppa ppa:team-xbmc/ppa Final release builds
https://launchpad.net/~team-xbmc/+archive/unstable ppa:team-xbmc/unstable Betas and release candidates
https://launchpad.net/~team-xbmc/+archive/xbmc-nightly ppa:team-xbmc/xbmc-nightly Nightly builds

1.1.1 Upgrading

To update XBMC/Kodi when a new version is released, just do a general system/package or use the following commands in the terminal (or via SSH):

sudo apt-get update
sudo apt-get install xbmc


1.1.2 XBMCbuntu

XBMCbuntu is a combination XBMC/operating system for use on PCs that are mainly just running XBMC. It is an alternative to installing Windows or a larger (and sometimes more complicated) Linux-based OS.

1.1.3 Installing a development build

To install a beta/unstable version of XBMC you must first add the unstable repository, then install XBMC:

Use ppa:team-xbmc/xbmc-nightly for nightly builds and ppa:team-xbmc/unstable for beta builds.

sudo add-apt-repository ppa:team-xbmc/xbmc-nightly
sudo apt-get update
sudo apt-get install xbmc

Follow the prompts to add the repository, then to add the updates, and finally install the new version of XBMC.

1.1.4 Going back to a stable version from a development version

To return to a stable release:

Find the current PPA you are using:

sudo apt-cache policy

Remove the unstable or nightly PPA where it says PPAHERE:

sudo add-apt-repository -r ppa:PPAHERE

Then restore the stable version with the following commands:

sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get remove xbmc
sudo apt-get install xbmc

1.1.5 Uninstalling

If you need to remove and purge an application and finally removing/purging also the application configurations files, do so by using the following commands:

sudo apt-get update
sudo apt-get remove xbmc*
sudo apt-get purge xbmc*

Then remove the settings folder to remove all settings and library data. This will not delete any videos or music, but just the settings and library data itself:

rm ~/.xbmc/

2 Other repositories

Unofficial Linux binaries that are un/semi supported by Team XBMC. These use internal ffmpeg libraries rather than system ffmpeg or libav, which is recommended for XBMC.

2.1 Debian

http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/

2.2 OpenELEC

OpenELEC (short for "Open Embedded Linux Entertainment Center") is a free and open source, small and very fast booting, embedded operating system. OpenELEC is a complete media center software suite that comes with a pre-configured version of XBMC and third-party add-ons with retro video game console emulators and PVR plugins.

3 Installation from source

If distribution packages are not available, or you need a newer version, or specific features enabled, then you will most likely need to compile from source. While compiling from source does not differ very much between distributions (except for installation of build dependencies), a few different guides are available in this wiki.

4 See also

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox