<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Basilgello</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Basilgello"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Basilgello"/>
	<updated>2026-06-25T17:29:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=233132</id>
		<title>HOW-TO:Install Kodi for Linux</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=233132"/>
		<updated>2021-08-24T06:34:27Z</updated>

		<summary type="html">&lt;p&gt;Basilgello: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Mininav|[[Linux]] {{L2| [[Installing]] }} }}&lt;br /&gt;
&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions with Team Kodi PPA ==&lt;br /&gt;
&lt;br /&gt;
The recommended way of installing Kodi on Ubuntu and its derivatives (Linux Mint, Kali Linux, Pop! OS etc) is to use official Team Kodi PPA.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Ubuntu releases 16.04 LTS (&amp;quot;Xenial&amp;quot;) or later, respectively, include their own Kodi builds in their official package repositories, customized to satisfy their interpretations of what is acceptable under their open-source mandates. If you have installed your distribution&#039;s Kodi packages, please purge them using the command &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; inline&amp;gt;sudo apt purge kodi*&amp;lt;/syntaxhighlight&amp;gt; before trying to install team-xbmc PPA packages.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|Releases from Team Kodi PPA are NOT compatible with Debian GNU / Linux and distributions built on top of Debian&#039;s binary package repositories! Please refer to &#039;&#039;&#039;Debian&#039;&#039;&#039; section of this page for installation instructions on such distributions!}}&lt;br /&gt;
&lt;br /&gt;
See [[SFTP]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding Team Kodi PPA repository ===&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal in Ubuntu, and enter the following commands. Follow the prompts as you would any other software installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt install kodi &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#lst:Official_Ubuntu_PPA|repos}}&lt;br /&gt;
&lt;br /&gt;
Note that this PPA only provides builds for Ubuntu i386 and Ubuntu amd64 but &#039;&#039;not for Ubuntu armhf&#039;&#039;, which can run on a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing binary add-ons (PVR, audio decoders, audio encoders, screensavers, visualizations, audio DSP) ===&lt;br /&gt;
{{See|Ubuntu binary add-ons}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing a development build ===&lt;br /&gt;
{{See also|Development builds}}&lt;br /&gt;
To install a beta/unstable version of {{Kodi}} you must first add the unstable repository, then install XBMC. Use &amp;lt;code&amp;gt;ppa:team-xbmc/xbmc-nightly&amp;lt;/code&amp;gt; for nightly builds and &amp;lt;code&amp;gt;ppa:team-xbmc/unstable&amp;lt;/code&amp;gt; for [[Development_builds|beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that if you have any addons (such as PVR clients), these must be updated as well (they will not be updated automatically):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
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 [[SFTP]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt upgrade --with-new-pkgs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading to a stable version from a development version ===&lt;br /&gt;
If you install a nightly build or an unstable release and want to return to a stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
apt-cache policy | grep -Eo &#039;team-xbmc/(unstable|nightly)&#039; | sudo xargs -r add-apt-repository -ryP&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restore the stable version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi kodi-x11&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between newer and older stable versions ===&lt;br /&gt;
If you want to return to the next most recent stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the current stable packages and PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
sudo add-apt-repository -r ppa:team-xbmc/ppa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then install the &amp;quot;oldstable&amp;quot; version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/kodi-old&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reverting to an earlier nightly ===&lt;br /&gt;
ALthough launchpad doesn&#039;t list older nightlies in their PPA, they are usually still available for download directly from the website. Visit the [https://launchpad.net/~team-xbmc/+archive/ubuntu/xbmc-nightly/+packages?field.name_filter=&amp;amp;field.status_filter=superseded&amp;amp;field.series_filter= xbmc-nightly repository index], where you will then have to download the appropriate .deb files and manually install them using &amp;lt;code&amp;gt;sudo dpkg -i [path to downloaded file]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
If you need to uninstall Kodi and purge its global configuration files (for instance, in the attempt to troubleshoot a persistent crash or other errors), do so by using the first of the following commands. If that fails to solve the issue, you will likely need to remove your user settings folder with all of your settings and library data to return to a state equivalent to what existed before Kodi was first installed on the system. This will not delete any videos or music, but just the settings and library data itself, but it is still recommended to keep a backup of them in case it&#039;s discovered that they weren&#039;t at issue and you are able to effect another solution. An example of how to accomplish a backup and then deletion of your user settings is provided on the last two lines, the highlighted one being responsible for making the backup which can thereafter be found in your home folder with the filename kodi-backup_&#039;&#039;timestamp&#039;&#039;.tar.xz.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; highlight=&amp;quot;2-3&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
tar cf - &amp;quot;${HOME}/.kodi/&amp;quot; | xz -z9e - &amp;gt;&amp;quot;${HOME}/kodi-backup_$(date +%m%d%y-%H%M).tar.xz&amp;quot;&lt;br /&gt;
rm -Ri &amp;quot;${HOME}/.{kodi,xbmc}/&amp;quot; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Embedded/Appliance type install==&lt;br /&gt;
=== LibreELEC ===&lt;br /&gt;
{{main|LibreELEC}}&lt;br /&gt;
{{#lst:LibreELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Third Party Repositories ==&lt;br /&gt;
&amp;lt;!-- Please only list repos that use an internal ffmpeg library --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
Debian GNU/Linux ships its own &#039;&#039;&#039;Kodi from Debian&#039;&#039;&#039; flavor with following changes:&lt;br /&gt;
&lt;br /&gt;
* Only system libraries are used (no embedded third-party libraries except of libdvdread and libdvdnav)&lt;br /&gt;
* Old web interface (Chorus) is shipped to ensure Debian Free Software Guides (DFSG) compatibility&lt;br /&gt;
&lt;br /&gt;
as well as a subset of Kodi binary addons packaged in [https://qa.debian.org/developer.php?email=vasek.gello@gmail.com main repository of Debian].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;&#039;Team Kodi offers no official support to &amp;quot;Kodi from Debian&amp;quot;!&#039;&#039;&#039; Please refer to links below for support!}}&lt;br /&gt;
&lt;br /&gt;
The support for Kodi from Debian is provided via the following channels:&lt;br /&gt;
# [https://forum.kodi.tv/showthread.php?tid=363611 Kodi from Debian - Support Thread] on Kodi forums&lt;br /&gt;
# [https://github.com/xbmc/xbmc/issues Github issues]&lt;br /&gt;
# [https://bugs.debian.org Debian Bug Tracker]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Checking installed and available Kodi packages ====&lt;br /&gt;
&lt;br /&gt;
You can check what versions of Kodi and its binary add-ons are installed with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
dpkg -l | grep kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check what versions of Kodi are available, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
apt-cache policy kodi*&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian Unstable or Testing ====&lt;br /&gt;
&lt;br /&gt;
Installation of Kodi from Debian on Debian unstable (&amp;quot;sid&amp;quot;) and testing is straightforward:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install Kodi binary add-ons (like &#039;&#039;&#039;PVR IPTV Simple&#039;&#039;&#039;, for example):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt install kodi-pvr-iptvsimple&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Make sure user running Kodi belongs to the following groups&lt;br /&gt;
(for example, for user &#039;&#039;&#039;kodi&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
$ groups kodi&lt;br /&gt;
kodi: cdrom,audio,render,video,plugdev,users,dialout,dip,input&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This needs to be done to ensure Video Acceleration API (VA-API) is properly initialized during Kodi start-up and videos playing get acceleration using VAAPI and not VDPAU on Intel or AMD cards. To add user to groups, use the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
usermod -a -G cdrom,audio,render,video,plugdev,users,dialout,dip,input kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian 10 &amp;quot;buster&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
By default, Debian buster users get Kodi 17.6 &amp;quot;Krypton&amp;quot;. However, it is possible to get Kodi 19.x &amp;quot;Matrix&amp;quot; from buster-backports.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get Kodi 17.6 and the corresponding add-ons, use the method described in &#039;&#039;&#039;Debian Unstable or Testing&#039;&#039;&#039; section above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get Kodi 19.x and the corresponding add-ons from Debian Backports:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
# Add Debian Backports repository for Debian 10 &amp;quot;buster&amp;quot;&lt;br /&gt;
if ! apt-cache policy 2&amp;gt;/dev/null | grep -q &amp;quot;http://.*buster-backports&amp;quot;; then&lt;br /&gt;
  echo &amp;quot;deb http://deb.debian.org/debian/ buster-backports main contrib&amp;quot; | sudo tee /etc/apt/sources.list.d/buster-backports.list&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# Update APT lists&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
# Install Kodi from backports:&lt;br /&gt;
sudo apt-get install {kodi,kodi-bin,kodi-data,kodi-repository-kodi,libspdlog1}/buster-backports&lt;br /&gt;
&lt;br /&gt;
# (OPTIONAL) Install Kodi binary add-ons (for example, &#039;PVR IPTV Simple&#039;):&lt;br /&gt;
sudo apt-get install kodi-pvr-iptvsimple/buster-backports&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian 9 &amp;quot;stretch&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
By default, Debian stretch users get Kodi 17.1 &amp;quot;Krypton&amp;quot;. No higher version is packaged in backports.&lt;br /&gt;
&lt;br /&gt;
To get Kodi 17.1 and the corresponding add-ons, use the method described in &#039;&#039;&#039;Debian Unstable or Testing&#039;&#039;&#039; section above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Raspbian ===&lt;br /&gt;
{{see also|HOW-TO:Install Kodi on Raspberry Pi}}&lt;br /&gt;
Installing on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upgrading on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation from source ==&lt;br /&gt;
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. See our &#039;&#039;&#039;[[Compiling Kodi]]&#039;&#039;&#039; guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|19}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;/div&gt;</summary>
		<author><name>Basilgello</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=231584</id>
		<title>HOW-TO:Install Kodi for Linux</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=231584"/>
		<updated>2021-07-18T08:31:08Z</updated>

		<summary type="html">&lt;p&gt;Basilgello: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Mininav|[[Linux]] {{L2| [[Installing]] }} }}&lt;br /&gt;
&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions with Team Kodi PPA ==&lt;br /&gt;
&lt;br /&gt;
The recommended way of installing Kodi on Ubuntu and its derivatives (Linux Mint, Kali Linux, Pop! OS etc) is to use official Team Kodi PPA.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Ubuntu releases 16.04 LTS (&amp;quot;Xenial&amp;quot;) or later, respectively, include their own Kodi builds in their official package repositories, customized to satisfy their interpretations of what is acceptable under their open-source mandates. If you have installed your distribution&#039;s Kodi packages, please purge them using the command &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; inline&amp;gt;sudo apt purge kodi*&amp;lt;/syntaxhighlight&amp;gt; before trying to install team-xbmc PPA packages.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|Releases from Team Kodi PPA are NOT compatible with Debian GNU / Linux and distributions built on top of Debian&#039;s binary package repositories! Please refer to &#039;&#039;&#039;Debian&#039;&#039;&#039; section of this page for installation instructions on such distributions!}}&lt;br /&gt;
&lt;br /&gt;
See [[SFTP]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding Team Kodi PPA repository ===&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal in Ubuntu, and enter the following commands. Follow the prompts as you would any other software installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt install kodi &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#lst:Official_Ubuntu_PPA|repos}}&lt;br /&gt;
&lt;br /&gt;
Note that this PPA only provides builds for Ubuntu i386 and Ubuntu amd64 but &#039;&#039;not for Ubuntu armhf&#039;&#039;, which can run on a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing binary add-ons (PVR, audio decoders, audio encoders, screensavers, visualizations, audio DSP) ===&lt;br /&gt;
{{See|Ubuntu binary add-ons}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing a development build ===&lt;br /&gt;
{{See also|Development builds}}&lt;br /&gt;
To install a beta/unstable version of {{Kodi}} you must first add the unstable repository, then install XBMC. Use &amp;lt;code&amp;gt;ppa:team-xbmc/xbmc-nightly&amp;lt;/code&amp;gt; for nightly builds and &amp;lt;code&amp;gt;ppa:team-xbmc/unstable&amp;lt;/code&amp;gt; for [[Development_builds|beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that if you have any addons (such as PVR clients), these must be updated as well (they will not be updated automatically):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
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 [[SFTP]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt upgrade --with-new-pkgs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading to a stable version from a development version ===&lt;br /&gt;
If you install a nightly build or an unstable release and want to return to a stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
apt-cache policy | grep -Eo &#039;team-xbmc/(unstable|nightly)&#039; | sudo xargs -r add-apt-repository -ryP&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restore the stable version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi kodi-x11&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between newer and older stable versions ===&lt;br /&gt;
If you want to return to the next most recent stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the current stable packages and PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
sudo add-apt-repository -r ppa:team-xbmc/ppa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then install the &amp;quot;oldstable&amp;quot; version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/kodi-old&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reverting to an earlier nightly ===&lt;br /&gt;
ALthough launchpad doesn&#039;t list older nightlies in their PPA, they are usually still available for download directly from the website. Visit the [https://launchpad.net/~team-xbmc/+archive/ubuntu/xbmc-nightly/+packages?field.name_filter=&amp;amp;field.status_filter=superseded&amp;amp;field.series_filter= xbmc-nightly repository index], where you will then have to download the appropriate .deb files and manually install them using &amp;lt;code&amp;gt;sudo dpkg -i [path to downloaded file]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
If you need to uninstall Kodi and purge its global configuration files (for instance, in the attempt to troubleshoot a persistent crash or other errors), do so by using the first of the following commands. If that fails to solve the issue, you will likely need to remove your user settings folder with all of your settings and library data to return to a state equivalent to what existed before Kodi was first installed on the system. This will not delete any videos or music, but just the settings and library data itself, but it is still recommended to keep a backup of them in case it&#039;s discovered that they weren&#039;t at issue and you are able to effect another solution. An example of how to accomplish a backup and then deletion of your user settings is provided on the last two lines, the highlighted one being responsible for making the backup which can thereafter be found in your home folder with the filename kodi-backup_&#039;&#039;timestamp&#039;&#039;.tar.xz.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; highlight=&amp;quot;2-3&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
tar cf - &amp;quot;${HOME}/.kodi/&amp;quot; | xz -z9e - &amp;gt;&amp;quot;${HOME}/kodi-backup_$(date +%m%d%y-%H%M).tar.xz&amp;quot;&lt;br /&gt;
rm -Ri &amp;quot;${HOME}/.{kodi,xbmc}/&amp;quot; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Embedded/Appliance type install==&lt;br /&gt;
=== LibreELEC ===&lt;br /&gt;
{{main|LibreELEC}}&lt;br /&gt;
{{#lst:LibreELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Third Party Repositories ==&lt;br /&gt;
&amp;lt;!-- Please only list repos that use an internal ffmpeg library --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
Debian GNU/Linux ships its own &#039;&#039;&#039;Kodi from Debian&#039;&#039;&#039; flavor with following changes:&lt;br /&gt;
&lt;br /&gt;
* Only system libraries are used (no embedded third-party libraries except of libdvdread and libdvdnav)&lt;br /&gt;
* Old web interface (Chorus) is shipped to ensure Debian Free Software Guides (DFSG) compatibility&lt;br /&gt;
&lt;br /&gt;
as well as a subset of Kodi binary addons packaged in [https://qa.debian.org/developer.php?email=vasek.gello@gmail.com main repository of Debian].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;&#039;Team Kodi offers no official support to &amp;quot;Kodi from Debian&amp;quot;!&#039;&#039;&#039; Please refer to links below for support!}}&lt;br /&gt;
&lt;br /&gt;
The support for Kodi from Debian is provided via the following channels:&lt;br /&gt;
# [https://forum.kodi.tv/showthread.php?tid=363611 Kodi from Debian - Support Thread] on Kodi forums&lt;br /&gt;
# [https://github.com/xbmc/xbmc/issues Github issues]&lt;br /&gt;
# [https://bugs.debian.org Debian Bug Tracker]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Checking installed and available Kodi packages ====&lt;br /&gt;
&lt;br /&gt;
You can check what versions of Kodi and its binary add-ons are installed with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
dpkg -l | grep kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check what versions of Kodi are available, use this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
apt-cache policy kodi*&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian Unstable or Testing ====&lt;br /&gt;
&lt;br /&gt;
Installation of Kodi from Debian on Debian unstable (&amp;quot;sid&amp;quot;) and testing is straightforward:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install Kodi binary add-ons (like &#039;&#039;&#039;PVR IPTV Simple&#039;&#039;&#039;, for example):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt install kodi-pvr-iptvsimple&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian 10 &amp;quot;buster&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
By default, Debian buster users get Kodi 17.6 &amp;quot;Krypton&amp;quot;. However, it is possible to get Kodi 19.x &amp;quot;Matrix&amp;quot; from buster-backports.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get Kodi 17.6 and the corresponding add-ons, use the method described in &#039;&#039;&#039;Debian Unstable or Testing&#039;&#039;&#039; section above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get Kodi 19.x and the corresponding add-ons from Debian Backports:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
# Add Debian Backports repository for Debian 10 &amp;quot;buster&amp;quot;&lt;br /&gt;
if ! apt-cache policy 2&amp;gt;/dev/null | grep -q &amp;quot;http://.*buster-backports&amp;quot;; then&lt;br /&gt;
  echo &amp;quot;deb http://deb.debian.org/debian/ buster-backports main contrib&amp;quot; | sudo tee /etc/apt/sources.list.d/buster-backports.list&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# Update APT lists&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
# Install Kodi from backports:&lt;br /&gt;
sudo apt-get install {kodi,kodi-bin,kodi-data,kodi-repository-kodi,libspdlog1}/buster-backports&lt;br /&gt;
&lt;br /&gt;
# (OPTIONAL) Install Kodi binary add-ons (for example, &#039;PVR IPTV Simple&#039;):&lt;br /&gt;
sudo apt-get install kodi-pvr-iptvsimple/buster-backports&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing Kodi on Debian 9 &amp;quot;stretch&amp;quot; ====&lt;br /&gt;
&lt;br /&gt;
By default, Debian stretch users get Kodi 17.1 &amp;quot;Krypton&amp;quot;. No higher version is packaged in backports.&lt;br /&gt;
&lt;br /&gt;
To get Kodi 17.1 and the corresponding add-ons, use the method described in &#039;&#039;&#039;Debian Unstable or Testing&#039;&#039;&#039; section above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Raspbian ===&lt;br /&gt;
{{see also|HOW-TO:Install Kodi on Raspberry Pi}}&lt;br /&gt;
Installing on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upgrading on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation from source ==&lt;br /&gt;
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. See our &#039;&#039;&#039;[[Compiling Kodi]]&#039;&#039;&#039; guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|19}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;/div&gt;</summary>
		<author><name>Basilgello</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=231583</id>
		<title>HOW-TO:Install Kodi for Linux</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=231583"/>
		<updated>2021-07-18T07:18:25Z</updated>

		<summary type="html">&lt;p&gt;Basilgello: Refactor Ubuntu installation guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Mininav|[[Linux]] {{L2| [[Installing]] }} }}&lt;br /&gt;
&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions with Team Kodi PPA ==&lt;br /&gt;
&lt;br /&gt;
The recommended way of installing Kodi on Ubuntu and its derivatives (Linux Mint, Kali Linux, Pop! OS etc) is to use official Team Kodi PPA.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Ubuntu releases 16.04 LTS (&amp;quot;Xenial&amp;quot;) or later, respectively, include their own Kodi builds in their official package repositories, customized to satisfy their interpretations of what is acceptable under their open-source mandates. If you have installed your distribution&#039;s Kodi packages, please purge them using the command &amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; inline&amp;gt;sudo apt purge kodi*&amp;lt;/syntaxhighlight&amp;gt; before trying to install team-xbmc PPA packages.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|Releases from Team Kodi PPA are NOT compatible with Debian GNU / Linux and distributions built on top of Debian&#039;s binary package repositories! Please refer to &#039;&#039;&#039;Debian&#039;&#039;&#039; section of this page for installation instructions on such distributions!}}&lt;br /&gt;
&lt;br /&gt;
See [[SFTP]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding Team Kodi PPA repository ===&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal in Ubuntu, and enter the following commands. Follow the prompts as you would any other software installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt install kodi &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#lst:Official_Ubuntu_PPA|repos}}&lt;br /&gt;
&lt;br /&gt;
Note that this PPA only provides builds for Ubuntu i386 and Ubuntu amd64 but &#039;&#039;not for Ubuntu armhf&#039;&#039;, which can run on a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing binary add-ons (PVR, audio decoders, audio encoders, screensavers, visualizations, audio DSP) ===&lt;br /&gt;
{{See|Ubuntu binary add-ons}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing a development build ===&lt;br /&gt;
{{See also|Development builds}}&lt;br /&gt;
To install a beta/unstable version of {{Kodi}} you must first add the unstable repository, then install XBMC. Use &amp;lt;code&amp;gt;ppa:team-xbmc/xbmc-nightly&amp;lt;/code&amp;gt; for nightly builds and &amp;lt;code&amp;gt;ppa:team-xbmc/unstable&amp;lt;/code&amp;gt; for [[Development_builds|beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install software-properties-common&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that if you have any addons (such as PVR clients), these must be updated as well (they will not be updated automatically):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
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 [[SFTP]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt upgrade --with-new-pkgs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;Ubuntu upgrade&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading to a stable version from a development version ===&lt;br /&gt;
If you install a nightly build or an unstable release and want to return to a stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
apt-cache policy | grep -Eo &#039;team-xbmc/(unstable|nightly)&#039; | sudo xargs -r add-apt-repository -ryP&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restore the stable version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi kodi-x11&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between newer and older stable versions ===&lt;br /&gt;
If you want to return to the next most recent stable release, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
Remove the current stable packages and PPA:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
sudo add-apt-repository -r ppa:team-xbmc/ppa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then install the &amp;quot;oldstable&amp;quot; version with the following commands:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -y ppa:team-xbmc/kodi-old&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reverting to an earlier nightly ===&lt;br /&gt;
ALthough launchpad doesn&#039;t list older nightlies in their PPA, they are usually still available for download directly from the website. Visit the [https://launchpad.net/~team-xbmc/+archive/ubuntu/xbmc-nightly/+packages?field.name_filter=&amp;amp;field.status_filter=superseded&amp;amp;field.series_filter= xbmc-nightly repository index], where you will then have to download the appropriate .deb files and manually install them using &amp;lt;code&amp;gt;sudo dpkg -i [path to downloaded file]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
If you need to uninstall Kodi and purge its global configuration files (for instance, in the attempt to troubleshoot a persistent crash or other errors), do so by using the first of the following commands. If that fails to solve the issue, you will likely need to remove your user settings folder with all of your settings and library data to return to a state equivalent to what existed before Kodi was first installed on the system. This will not delete any videos or music, but just the settings and library data itself, but it is still recommended to keep a backup of them in case it&#039;s discovered that they weren&#039;t at issue and you are able to effect another solution. An example of how to accomplish a backup and then deletion of your user settings is provided on the last two lines, the highlighted one being responsible for making the backup which can thereafter be found in your home folder with the filename kodi-backup_&#039;&#039;timestamp&#039;&#039;.tar.xz.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; highlight=&amp;quot;2-3&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt purge kodi*&lt;br /&gt;
tar cf - &amp;quot;${HOME}/.kodi/&amp;quot; | xz -z9e - &amp;gt;&amp;quot;${HOME}/kodi-backup_$(date +%m%d%y-%H%M).tar.xz&amp;quot;&lt;br /&gt;
rm -Ri &amp;quot;${HOME}/.{kodi,xbmc}/&amp;quot; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Embedded/Appliance type install==&lt;br /&gt;
=== LibreELEC ===&lt;br /&gt;
{{main|LibreELEC}}&lt;br /&gt;
{{#lst:LibreELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Third Party Repositories ==&lt;br /&gt;
&amp;lt;!-- Please only list repos that use an internal ffmpeg library --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
In Debian 9 (Stretch) and 10 (Buster), Kodi is available in the default &amp;quot;main&amp;quot; Debian repository. You can check this with &#039;apt show kodi&#039; to show the description or &#039;apt policy kodi&#039; to check available version and whether it&#039;s installed. The version in the Debian main repository is an older version (built by Debian) and is not maintained by the Kodi team.&lt;br /&gt;
&lt;br /&gt;
In Debian 9 and 10, update APT and install:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For installation if you are using Debian 8 (Jessie), you can use the debian-backports repository.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /etc/apt/sources.list file, as superuser (sudo)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
# kodi repos&lt;br /&gt;
# starting with debian jessie, debian provides kodi via its backports repository&lt;br /&gt;
# remember: those packages are not supported by team kodi&lt;br /&gt;
deb http://http.debian.net/debian jessie-backports main&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then, update APT and install Kodi.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Raspbian ===&lt;br /&gt;
{{see also|HOW-TO:Install Kodi on Raspberry Pi}}&lt;br /&gt;
Installing on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upgrading on Raspbian is done with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation from source ==&lt;br /&gt;
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. See our &#039;&#039;&#039;[[Compiling Kodi]]&#039;&#039;&#039; guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|19}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;/div&gt;</summary>
		<author><name>Basilgello</name></author>
	</entry>
</feed>