Difference between revisions of "HOW-TO:Install Kodi for Linux"

From Official Kodi Wiki
Jump to: navigation, search
(Downgrading between stable versions)
Line 7: Line 7:
== Installing Kodi on Ubuntu-based distributions ==
== Installing Kodi on Ubuntu-based distributions ==
{{note|1=[http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]}}
See [[SSH]] or [http://help.ubuntu.com/community/UsingTheTerminal 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.
Use the command line terminal and enter the following commands. Follow the prompts as you would any other software installation.

Revision as of 20:55, 30 August 2015

Emblem-important-yellow.png NOTICE:
See Migration from XBMC to Kodi for special notes about going from an older XBMC version to Kodi.

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

1.1 Installing Kodi on Ubuntu-based distributions

See SSH or 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 software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

The Kodi repositories are as follows:

Note: Although the URL still has "Team XBMC" in the title, these are the current URLs for Kodi.

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

sudo apt-get install kodi-pvr-XXXXXXX
PVR Addon Description
kodi-pvr-dev Kodi Media Center (PVR Add-on Dev package)
kodi-pvr-argustv Kodi PVR Addon Argustv
kodi-pvr-demo Kodi PVR Demo Addon
kodi-pvr-dvbviewer Kodi PVR Addon Dvbviewer
kodi-pvr-iptvsimple Kodi PVR Iptv Addon
kodi-pvr-mediaportal-tvserver Kodi PVR Addon Mediaportal Tvserver
kodi-pvr-mythtv Kodi PVR Addon MythTv - Cmyth
kodi-pvr-nextpvr Kodi PVR Addon NextPvr
kodi-pvr-njoy Kodi PVR Addon Njoy
kodi-pvr-hts Kodi PVR Addon TvHeadend Hts
kodi-pvr-vdr-vnsi Kodi PVR Addon VDR Vnsi
kodi-pvr-vuplus Kodi PVR Addon Vuplus

1.1.2 Installing a development build

To install a beta/unstable version of Kodi 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 kodi

1.1.3 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):

sudo apt-get update
sudo apt-get upgrade

Note: In some cases where additional packages are required, Kodi will fail to upgrade when using the upgrade commands as above. To install additional packages use the command below:

sudo apt-get dist-upgrade

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

sudo apt-cache policy | grep team-xbmc

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 kodi
sudo apt-get install kodi

1.1.5 Downgrading between stable versions

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?

1.1.6 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 kodi*
sudo apt-get purge kodi*

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 ~/.kodi/


rm ~/.xbmc/ # for older versions before 14.0

2 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 Kodi as we support ffmpeg only.

2.1 Debian

The installation if you are using Debian, it's very simple You will need custom repos, availables on custom repos here.

Add the following lines to your /etc/apt/sources.list file, as superuser (sudo)

# XBMC repos
deb https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/
deb http://http.debian.net/debian unstable main

And then, update APT and install Kodi.

sudo apt-get update
sudo apt-get install kodi

Enjoy your new Kodi.

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

2.3 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 Kodi and third-party add-ons with retro video game console emulators and PVR plugins.

Note: OpenELEC is lacking critical updates which have broken many functions of Kodi. We recommend switching to LibreElec

2.4 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 Kodi with an easy installer.

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

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