<?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=Mikaabra</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=Mikaabra"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Mikaabra"/>
	<updated>2026-06-19T23:01:47Z</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=122691</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=122691"/>
		<updated>2016-04-27T06:40:53Z</updated>

		<summary type="html">&lt;p&gt;Mikaabra: Changed the wording to on the Ubuntu Kodi warning to say that not only 16.04 includes Ubuntu Kodi.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Linux]] {{l2| [[Installation]] }} }}&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions ==&lt;br /&gt;
{{warning|Some (later) Ubuntu versions include Kodi built by Ubuntu themselves. If you have installed Ubuntu Kodi, please remove the packages &amp;quot;kodi kodi-bin kodi-data&amp;quot; before trying to install team-xbmc PPA packages.}}&lt;br /&gt;
&lt;br /&gt;
See [[SSH]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal 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;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install software-properties-common&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&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;
{{#lst:Team XBMC PPA|repos}}&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;
=== 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 [[beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/xbmc-nightly&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;
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;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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 [[SSH]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&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;
{{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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get dist-upgrade&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;
&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;
Find the current PPA you are using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-cache policy | grep team-xbmc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA where it says &#039;&#039;&#039;PPAHERE&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -r ppa:PPAHERE&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;bash&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-bin&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between newer and older stable versions ===&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi*&lt;br /&gt;
sudo apt-get purge kodi*&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.kodi/ &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.xbmc/ # for older versions before 14.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
The installation if you are using Debian (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=&amp;quot;bash&amp;quot;&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=&amp;quot;bash&amp;quot;&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;
Enjoy your new Kodi.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
Refer to [[HOW-TO:Install Kodi on Fedora 23 using RPMFusion packages]] for a guide showing how to install Fedora 23 and Kodi to create a quick-booting, standalone style of media player.&lt;br /&gt;
&lt;br /&gt;
=== OpenELEC ===&lt;br /&gt;
{{main|OpenELEC}}&lt;br /&gt;
{{#lst:OpenELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
=== KodiBuntu ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{{main|KodiBuntu}}&lt;br /&gt;
{{#lst:KodiBuntu|intro}}&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. 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.&lt;br /&gt;
&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux from source code]]&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux on Debian/Ubuntu]] - This is a tutorial on how to compile and install {{kodi}} on Debian and Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[HOW-TO:Autostart XBMC for Linux]]&lt;br /&gt;
*[[JeOS implementations for Kodi]]&lt;br /&gt;
&amp;lt;!--{{mininav| [[Installing]] {{l2| [[Linux]] }} }}--&amp;gt;&lt;br /&gt;
* [[Linux FAQ]]&lt;br /&gt;
&lt;br /&gt;
{{Updated|16}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;br /&gt;
[[Category:Manual]]&lt;/div&gt;</summary>
		<author><name>Mikaabra</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=122669</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=122669"/>
		<updated>2016-04-25T11:37:42Z</updated>

		<summary type="html">&lt;p&gt;Mikaabra: Changed the ubuntu 16.04 warning to reflect issues with team-xbmc Kodi v16.1 PPAs conflict with ubuntu included Kodi v15.2 and how to resolve this.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Linux]] {{l2| [[Installation]] }} }}&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions ==&lt;br /&gt;
{{Expire | 20160430 | {{warning|Ubuntu 16.04 includes Kodi v15.2. If you have installed Ubuntu Kodi, please remove the packages &amp;quot;kodi kodi-bin kodi-data&amp;quot; before trying to install team-xbmc PPA packages.}} }}&lt;br /&gt;
&lt;br /&gt;
See [[SSH]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal 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;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install software-properties-common&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&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;
{{#lst:Team XBMC PPA|repos}}&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;
=== 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 [[beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/xbmc-nightly&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;
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;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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 [[SSH]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&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;
{{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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get dist-upgrade&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;
&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;
Find the current PPA you are using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-cache policy | grep team-xbmc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA where it says &#039;&#039;&#039;PPAHERE&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -r ppa:PPAHERE&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;bash&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-bin&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between newer and older stable versions ===&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi*&lt;br /&gt;
sudo apt-get purge kodi*&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.kodi/ &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.xbmc/ # for older versions before 14.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
The installation if you are using Debian (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=&amp;quot;bash&amp;quot;&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=&amp;quot;bash&amp;quot;&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;
Enjoy your new Kodi.&lt;br /&gt;
&lt;br /&gt;
=== Fedora ===&lt;br /&gt;
Refer to [[HOW-TO:Install Kodi on Fedora 23 using RPMFusion packages]] for a guide showing how to install Fedora 23 and Kodi to create a quick-booting, standalone style of media player.&lt;br /&gt;
&lt;br /&gt;
=== OpenELEC ===&lt;br /&gt;
{{main|OpenELEC}}&lt;br /&gt;
{{#lst:OpenELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
=== KodiBuntu ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{{main|KodiBuntu}}&lt;br /&gt;
{{#lst:KodiBuntu|intro}}&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. 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.&lt;br /&gt;
&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux from source code]]&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux on Debian/Ubuntu]] - This is a tutorial on how to compile and install {{kodi}} on Debian and Ubuntu.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[HOW-TO:Autostart XBMC for Linux]]&lt;br /&gt;
*[[JeOS implementations for Kodi]]&lt;br /&gt;
&amp;lt;!--{{mininav| [[Installing]] {{l2| [[Linux]] }} }}--&amp;gt;&lt;br /&gt;
* [[Linux FAQ]]&lt;br /&gt;
&lt;br /&gt;
{{Updated|16}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;br /&gt;
[[Category:Manual]]&lt;/div&gt;</summary>
		<author><name>Mikaabra</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=122584</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=122584"/>
		<updated>2016-04-23T03:52:34Z</updated>

		<summary type="html">&lt;p&gt;Mikaabra: Updated with warning for users that ubuntu 16.04 currently isn&amp;#039;t working.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Kodi migration note}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Official Team Kodi repositories =&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Installing Kodi on Ubuntu-based distributions ==&lt;br /&gt;
See [[SSH]] or [http://help.ubuntu.com/community/UsingTheTerminal Click here to find out how to use the terminal.]&lt;br /&gt;
&lt;br /&gt;
Use the command line terminal and enter the following commands. Follow the prompts as you would any other software installation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(Please note that that at time of writing (23 April 2016), Ubuntu 16.04 team-xbmc repositories are not working and you&#039;d have to use Kodi 15.2 included with Ubuntu 16.04).&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install software-properties-common&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/ppa&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;
{{#lst:Team XBMC PPA|repos}}&lt;br /&gt;
&lt;br /&gt;
=== Installing PVR Addons ===&lt;br /&gt;
{{see|Ubuntu PVR add-ons}}&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 [[beta]] builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:team-xbmc/xbmc-nightly&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;
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;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install kodi-pvr-mythtv&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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 [[SSH]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&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;
{{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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get dist-upgrade&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;
&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;
Find the current PPA you are using:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-cache policy | grep team-xbmc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the unstable or nightly PPA where it says &#039;&#039;&#039;PPAHERE&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo add-apt-repository -r ppa:PPAHERE&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;bash&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-bin&lt;br /&gt;
sudo apt-get install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downgrading between stable versions ===&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
&lt;br /&gt;
=== Uninstalling ===&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get remove kodi*&lt;br /&gt;
sudo apt-get purge kodi*&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.kodi/ &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
rm ~/.xbmc/ # for older versions before 14.0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;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;
== Debian ==&lt;br /&gt;
&lt;br /&gt;
The installation if you are using Debian (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=&amp;quot;bash&amp;quot;&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=&amp;quot;bash&amp;quot;&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;
Enjoy your new Kodi.&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
Refer to [[HOW-TO:Install Kodi on Fedora 23 using RPMFusion packages]] for a guide showing how to install Fedora 23 and Kodi to create a quick-booting, standalone style of media player.&lt;br /&gt;
&lt;br /&gt;
== OpenELEC ==&lt;br /&gt;
{{main|OpenELEC}}&lt;br /&gt;
{{#lst:OpenELEC|intro}}&lt;br /&gt;
&lt;br /&gt;
== KodiBuntu ==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{{main|KodiBuntu}}&lt;br /&gt;
{{#lst:KodiBuntu|intro}}&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. 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.&lt;br /&gt;
&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux from source code]]&lt;br /&gt;
* [[HOW-TO compile XBMC for Linux on Debian/Ubuntu]] - This is a tutorial on how to compile and install {{kodi}} on Debian and Ubuntu.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[HOW-TO:Autostart XBMC for Linux]]&lt;br /&gt;
*[[JeOS implementations for Kodi]]&lt;br /&gt;
&amp;lt;!--{{mininav| [[Installing]] {{l2| [[Linux]] }} }}--&amp;gt;&lt;br /&gt;
* [[Linux FAQ]]&lt;br /&gt;
&lt;br /&gt;
{{Helix updated}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;br /&gt;
[[Category:Manual]]&lt;/div&gt;</summary>
		<author><name>Mikaabra</name></author>
	</entry>
</feed>