HOW-TO:Install Kodi for Linux

= Official Team Kodi repositories =

The installation instructions within this section reference repositories that are officially sanctioned by Team Kodi. For third party and unofficial build support, please see the section below.

Installing Kodi on Ubuntu-based distributions
Use the command line terminal and enter the following commands. Follow the prompts as you would any other software installation.

Installing PVR Addons
The Linux release of Kodi doesn't include any PVR addons by default. To install a PVR addon, run the following command and replace the XXXXXX with the PVR addon of your choice:

Installing a development build
To install a beta/unstable version of you must first add the unstable repository, then install XBMC. Use  for nightly builds and   for beta builds.

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



Downgrading to a stable version from a development version
If you install a nightly build or an unstable release and want to return to a stable release, follow these instructions:

Find the current PPA you are using:

Remove the unstable or nightly PPA where it says PPAHERE:

Then restore the stable version with the following commands:

Downgrading to a stable version from a development version
Use these commands if you need to downgrade from a stable version to another stable version. For example, to downgrade from Kodi v14 to XBMC v13.2:

Note the version number after " ". For older Kodi versions replace "xbmc" with "kodi" for both  and.

For a full list of available versions type in this command:

or

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:

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: or

= Third Party Repositories =

The instructions in this section are for unofficial Linux binaries that are un/semi supported by Team Kodi. Most of those binaries use system ffmpeg or even worse totally untested libav, which is not recommended for as we support ffmpeg only.

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

Fedora
Refer to HOW-TO:Install Kodi on Fedora 21 using RPMFusion packages for a guide showing how to install Fedora 21 and Kodi to create a quick-booting, standalone style of media player.

FedoraProject also has this page discussing how to build a dedicated home theatre.

KodiBuntu
The installation instructions on this page are intended for people who already have a Linux-based OS setup, or wish to do their own installation of Linux. Alternatively you can try out KodiBuntu, which will install both an OS and with an easy installer.

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


 * HOW-TO compile XBMC for Linux from source code
 * HOW-TO compile XBMC for Linux on Debian/Ubuntu - This is a tutorial on how to compile and install on Debian and Ubuntu.

= See also =
 * Linux
 * HOW-TO:Autostart XBMC for Linux
 * JeOS implementations for Kodi


 * Linux FAQ