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 set up. 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.
  • Before you run these comands type "sudo echo" into the terminal and hit Enter.
  • Then copy the area below up to sudo add...
  • Go back to the terminal, hit the middle mouse button and when it prompts hit Enter.
  • Copy the part after sudo add... and paste it to the terminal.
  • If it askes you if you want to install enter y and hit Enter
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
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

1.1.1 Updating

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 Beta/Unstable Version

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

sudo add-apt-repository ppa:team-xbmc/unstable
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.

Note: You may need to restart your computer for the newly installed version to be working.

1.1.4 Going From a Beta/Unstable Version to a Stable Version

Check what XBMC versions you have access to:

sudo apt-cache policy xbmc
xbmc:
  Installed: 2:13.2~git20140719.0900-beta2-0trusty
  Candidate: 2:13.2~git20140719.0900-beta2-0trusty
  Version table:
 *** 2:13.2~git20140719.0900-beta2-0trusty 0
        500 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     2:13.1~git20140606.0917-gotham-0trusty 0
        500 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ trusty/main amd64 Packages
     2:12.3+dfsg1-3ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Note: In the above example we have an unstable (team-xbmc/unstable) and the release versions (team-xbmc/ppa) available. The version with the *** is the currently installed version (unstable)

To install the release version we need to install the team-xbmc/ppa version (in the above example: "2:13.1~git20140606.0917-gotham-0trusty"). This requires us to install both the "xbmc" and the "xbmc-bin" package.

sudo apt-get install xbmc=2:13.1~git20140606.0917-gotham-0trusty xbmc-bin=2:13.1~git20140606.0917-gotham-0trusty
Note: You will get a warning you are downgrading, hit Y when asked to continue

Remove the beta/unstable repository from XBMC to clean up:

sudo add-apt-repository -r ppa:team-xbmc/unstable

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