HOW-TO:Install Kodi for Linux

From Official Kodi Wiki
Revision as of 19:34, 20 December 2010 by >Benb (Mention multiverse requirement, see bug 10931)
Jump to navigation Jump to search

Template:XBMC wiki toc Inline


If you are having problems, there is a XBMC for Linux specific FAQ specially for Questions about XBMC for Linux in this wiki.

Installation from official distribution packages

A number of distributions now provide packages of XBMC. Since installation via distribution packages is simple (usually one or two commands) and the easiest way to get started, this section includes the minimum information on doing that. Distributions are listed in alphabetical order. Following the instructions provided should result in you having a working stand-alone XBMC installation.

Dharma with Live TV on Ubuntu 9.10, 10.04 & 10.10

For XBMC Dharma 10.0 with PVR-Support (Live-TV) on Ubuntu Karmic Koala, Maverick Meerkat & Lucid Lynx use this HowTo

Ubuntu

From Ubuntu 9.10 (Karmic Koala) onward, you can install from the team-xbmc PPA as follows:

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

Make sure to have the multiverse repository enabled, see /etc/apt/sources.list, it is needed for libfaad0, otherwise you get xbmc: Depends: xbmc-data (= 2:10.00~svn35648-lucid1) but it is not going to be installed E: Broken packages.

For more details, see the HOW-TO install XBMC for Linux on Ubuntu, a Step-by-Step Guide page (The official XBMC site points to this page) or the minimal Ubuntu guide which is suitable for a HTPC style system without desktop use.

If you are interested in stable XBMC releases (releases that we certify as usable and/or testable), please use the stable PPAs. Once added in your repository list, you will be notified for any update we make. You will have the latest stable version this way.

Arch

As stable xbmc releases are already available through the community repository, please make sure you have it enabled in your /etc/pacman.conf. After that it's as simple as using pacman to install xbmc and all of its dependencies:

pacman -Sy xbmc

Mandriva

XBMC 10.0 "Dharma" with PVR support is available in contrib/updates of Mandriva 2010.1. You can install it with

urpmi xbmc 

Mandriva 2009.1 and 2010.0 have older versions of XBMC that can be installed by running:

urpmi --searchmedia Backports xbmc

Of course, you can install from contrib/backports or from contrib/release using the GUI tool rpmdrake. Note that all these methods are most easily used if you have the full software sources enabled.

Installing from third-party distribution packages

While obviously using distribution-supplied packages is preferable (in terms of updates, continued support, easier distro upgrades etc.) to third-party packages, methods for installing from third-party packages repositories are still easier than installing from source.

openSUSE

xbmc is available in the Packman repository. To install, add the Packman repository (YaST (package manager) --> repositories --> repositories manager --> add --> community repositories), after which you can install by running:

sudo zypper in XBMC

More information is available on the HOW TO install XBMC on openSUSE Linux page.

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.