HOW-TO:Install Kodi for Linux
|HOW-TO:Install Kodi for Linux|
1 Installing Kodi on Ubuntu-based distributions
|Some (later) Ubuntu versions include Kodi built by Ubuntu themselves. If you have installed Ubuntu Kodi, please remove the packages "kodi kodi-bin kodi-data" before trying to install team-xbmc PPA packages.|
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:
||Final release builds|
||Betas and release candidates|
Note that this PPA only provides builds for Ubuntu i386 and Ubuntu amd64 but not for Ubuntu armhf, which can run on a Raspberry Pi.
1.1 Installing binary add-ons (PVR, audio decoders, audio encoders, screensavers, visualizations, audio DSP)
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
Note that if you have any addons (such as PVR clients), these must be updated as well (they will not be updated automatically):
sudo apt-get install kodi-pvr-mythtv
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
sudo apt-get dist-upgrade
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 kodi-bin sudo apt-get install kodi
1.5 Downgrading between newer and older stable versions
If you want to return to the previous stable release, follow these instructions:
Remove the current stable PPA:
sudo add-apt-repository -r ppa:team-xbmc/ppa
Then install the old stable version with the following commands:
sudo add-apt-repository ppa:team-xbmc/kodi-old sudo apt-get update sudo apt-get remove kodi* sudo apt-get install kodi
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 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 -r ~/.kodi/
2 Embedded Linux Systems
LibreELEC offers a fast and easy way to use Kodi on Linux based systems. Follow the link below for instructions how to install LibreELEC.
LibreELEC (short for "Libre Embedded Linux Entertainment Center") is a non-profit fork of OpenELEC, a small and very fast booting, open source JeOS (Just enough Operating System). LibreELEC is a complete media center software suite for embedded systems and computers, as it comes with a pre-configured version of Kodi and optional third-party PVR backend software.
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.
3 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.
The installation if you are using Debian (Jessie), you can use the debian-backports repository.
Add the following lines to your /etc/apt/sources.list file, as superuser (sudo)
# kodi repos # starting with debian jessie, debian provides kodi via its backports repository # remember: those packages are not supported by team kodi deb http://http.debian.net/debian jessie-backports main
And then, update APT and install Kodi.
sudo apt-get update sudo apt-get install kodi
Enjoy your new Kodi.
Refer to HOW-TO:Install Kodi on Fedora 25 using RPMFusion packages for a guide showing how to install Fedora 25 and Kodi to create a quick-booting, standalone style of media player.
Installing on Raspbian is done with:
sudo apt-get install kodi
Upgrading on Raspbian is done with:
sudo apt-get update sudo apt-get upgrade
At the moment the build in Raspbian are outdated. At the moment only http://michael.gorven.za.net offers prebuild packages.
|Kodibuntu is not longer supported and this part only exists for historical reasons|
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.
4 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 Kodi on Debian and Ubuntu.