<?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=Danepowell</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=Danepowell"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Danepowell"/>
	<updated>2026-06-23T21:45:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=MythTV_PVR&amp;diff=122767</id>
		<title>MythTV PVR</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=MythTV_PVR&amp;diff=122767"/>
		<updated>2016-05-03T23:44:05Z</updated>

		<summary type="html">&lt;p&gt;Danepowell: /* Connecting Kodi to MythTV */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{:PVR/Contents}}&lt;br /&gt;
{{mininav|[[PVR]]|[[Recording software]]}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;&#039;&#039;&#039;MythTV&#039;&#039;&#039; is a open source software PVR project that is designed to run on Linux, although other operating system packages are available. With MythTV you can watch Live TV, schedule recordings, view episode guide information, and many other features you expect from a DVR type appliance device. But more interesting for {{Kodi}} users is that as MythTV uses a [[wikipedia:distributed application|distributed application structure]] it can also be configured as PVR backend (PVR server) for {{Kodi}}, supporting multiple {{Kodi}} frontends as clients, with MythTV acting as the PVR backend that does work of tuning TV signals, recording, scheduling, and post processing jobs. &lt;br /&gt;
&lt;br /&gt;
By levering existing third-party [[PVR backend]] applications such as &#039;&#039;&#039;MythTV&#039;&#039;&#039; that specialize in receiving television signals and support a [[wikipedia:client–server model|client–server model]] which {{Kodi}} can access via a [[PVR|PVR client addon]], these PVR features allows you to watch Live TV, listen to radio, view a EPG TV-Guide, schedule recordings and enables many other TV related features, all using {{Kodi}} as your primary interface once the initial pairing connection to &#039;&#039;&#039;MythTV&#039;&#039;&#039; have been done and configuration of the [[PVR|PVR client addon]] for it is complete.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
== Installing MythTV ==&lt;br /&gt;
MythTV can be set up on a variety of Linux distributions and also on Mac OS X. The [http://www.mythtv.org/wiki/Packages MythTV Wiki] page has several pages of detailed instruction sets for various distros and tuner types.&lt;br /&gt;
&lt;br /&gt;
The released PVR client addon for {{Kodi}} have been tested with MythTV PVR backend (server) version 0.27 - 0.28.&lt;br /&gt;
&lt;br /&gt;
== MythTV quick start guide ==&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
If your tuner hardware is not detected or is having issues, check http://linuxtv.org for driver support.&lt;br /&gt;
&lt;br /&gt;
== Connecting Kodi to MythTV ==&lt;br /&gt;
{{PVR repo notice}}&lt;br /&gt;
# Enable Kodi TV at {{highlight|Settings -&amp;gt; TV}}&lt;br /&gt;
# Go to {{highlight|Settings -&amp;gt; Add-ons -&amp;gt; Enabled add-ons -&amp;gt; PVR Clients}} and select the MythTV add-on&lt;br /&gt;
# Select &amp;quot;Configure&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== MythTV addon designed for Kodi (&#039;&#039;&#039;pvr.mythtv&#039;&#039;&#039;) ==&lt;br /&gt;
{{main|Add-on:MythTV PVR Client}}&lt;br /&gt;
The addon supports MythTV Backend version 0.27 - 0.28. It inter-operates with new API provided by MythTV backend since 0.27. &#039;&#039;&#039;To use it first you have to enable the API services of your backend&#039;&#039;&#039; by running mythtv-setup and set the security pin as &amp;quot;&#039;&#039;&#039;0000&#039;&#039;&#039;&amp;quot;&amp;lt;ref&amp;gt;http://www.mythtv.org/wiki/User_Manual:Detailed_configuration_Backend&amp;lt;/ref&amp;gt;, set the &#039;&#039;&#039;IPv6 address&#039;&#039;&#039; to value &amp;quot;&#039;&#039;&#039;::1&#039;&#039;&#039;&amp;quot; if you haven&#039;t IP6 network infrastructure.&lt;br /&gt;
&lt;br /&gt;
Addon provides &#039;&#039;&#039;Live TV&#039;&#039;&#039;, &#039;&#039;&#039;recording playback&#039;&#039;&#039; and &#039;&#039;&#039;schedules&#039;&#039;&#039; services. It includes its internal demuxer for mpeg-ts standard and allows access of sources and storages of all MythTV infrastructure including &#039;&#039;&#039;master&#039;&#039;&#039; and its &#039;&#039;&#039;slave&#039;&#039;&#039; backends.&lt;br /&gt;
&lt;br /&gt;
[[File:pvr.mythtv-channels.png|360px]]&lt;br /&gt;
[[File:pvr.mythtv-recordings.png|360px]]&lt;br /&gt;
[[File:pvr.mythtv-guide-actions.png|360px]]&lt;br /&gt;
&lt;br /&gt;
Addon allows streaming of Live TV and Recordings, listening to Radio channels, EPG and Timers, including fanarts, covers and previews from your MythTV backend.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
=== General ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
[[File:pvr.mythtv000.png|500px|right]]&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; MythTV Backend Hostname or IP&lt;br /&gt;
&lt;br /&gt;
: The hostname or IP address of the server where MythTV / master backend is installed. If backend and frontend run on the same machine then &#039;localhost&#039; can be used.&lt;br /&gt;
; MythTV Backend Port&lt;br /&gt;
: The default is 6543 but this will need updating if you have changed it in the MythTV settings.&lt;br /&gt;
; MythTV Backend Port for API services&lt;br /&gt;
: The default is 6544 but this will need updating if you have changed it in the MythTV settings.&lt;br /&gt;
; MythTV Security PIN for API services&lt;br /&gt;
: The default is 0000 but this will need updating if you have changed it in the MythTV settings.&lt;br /&gt;
; MythTV Backend Ethernet address (WOL)&lt;br /&gt;
: Add the MAC address of your backend to allow the addon to wake up the backend using WOL. Also addon will wait any user activities to send the magic packet, otherwise the backend won&#039;t be wake up to save power.&lt;br /&gt;
; Enable Live TV&lt;br /&gt;
: This enables Live TV. Switch it off if you do want to use MythTV only for watching recordings.&lt;br /&gt;
; Allow Live TV to move scheduled shows&lt;br /&gt;
: This allows MythBackend to move scheduled recordings to another tuner if the scheduled tuner is blocked by an active Live TV playback. If turned off, you might miss recordings!&lt;br /&gt;
; Conflict handling&lt;br /&gt;
: This allows to configure the Live TV vs. scheduled recoding conflict handling. The setting determines how the addon should handle upcoming recordings for a tuner, that is being used for Live TV at the moment.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer Live TV when recording has later slot:&#039;&#039;&#039; (default) Continue watching Live TV in case there is a known later slot for the recording. Reschedule to record this repeat instead. If there&#039;s no later slot, stop Live TV and start the recording now.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer recording and stop Live TV:&#039;&#039;&#039; Stop Live TV and start the scheduled recording.&lt;br /&gt;
: &#039;&#039;&#039;- Prefer Live TV and cancel conflicting recording:&#039;&#039;&#039; Ignore the conflicting, upcoming recording and continue to watch Live TV instead.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Recording template ===&lt;br /&gt;
Configuration of the default rules for new recordings. Recording rule templates have been introduced in MythTV 0.26.&lt;br /&gt;
For older MythTV versions, please use and configure the addon-&#039;&#039;&#039;Internal&#039;&#039;&#039; template provider.&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
[[File:pvr.mythtv001.png|500px|right]]&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; Template provider&lt;br /&gt;
: &#039;&#039;&#039;- MythTV:&#039;&#039;&#039; Use MythTV&#039;s default recording rule template&lt;br /&gt;
: &#039;&#039;&#039;- Internal:&#039;&#039;&#039; Use Kodi&#039;s respectively the addon&#039;s settings&lt;br /&gt;
; Automatically Look Up Metadata&lt;br /&gt;
: Advises the MythTV backend to download metadata for this recording.&lt;br /&gt;
; Commercial Flag new recordings&lt;br /&gt;
: Advises the MythTV backend to run the commercial flag job for this recording.&lt;br /&gt;
; Allow recordings to expire?&lt;br /&gt;
: Allows the MythTV backend to automatically delete the recording when necessary.&lt;br /&gt;
; Transcode new recordings and Transcoder&lt;br /&gt;
: Advises the MythTV backend to automatically transcode the recording into a different format.&lt;br /&gt;
; Run user Job #1-4&lt;br /&gt;
: Advises the MythTV backend to automatically run the user defined jobs for this recording.&lt;br /&gt;
;Note&lt;br /&gt;
: &#039;&#039;&#039;Start&#039;&#039;&#039; and &#039;&#039;&#039;End Offset&#039;&#039;&#039; is configured in [[PVR/Kodi#Recording|Kodi Live TV settings]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Advanced ===&lt;br /&gt;
Advanced tab contains settings to tune the addon. Some change the look and feel, while others modify the behavior with respect to your hardware configuration.&lt;br /&gt;
[[File:pvr.mythtv002_1.png|500px|right]]&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
; Include more debug information in the log file&lt;br /&gt;
: If turned on, additional debugging information is written to the log file. This should be turned on if you want to debug or report problems. It should be &#039;&#039;&#039;off&#039;&#039;&#039; for normal usage.&lt;br /&gt;
; Enable demuxing MPEG-TS&lt;br /&gt;
: Enables the addon internal demuxing of the stream. Advantages are faster channel switching and better timeshift functionality.&lt;br /&gt;
: &#039;&#039;&#039;Note:&#039;&#039;&#039; This might not work with all video formats. Disable this settings in case you experience playback problems.&lt;br /&gt;
; Block backend shutdown&lt;br /&gt;
: If turned on, backend will waiting KODI exit or sleep before shutdown. Even turned on, addon allows backend shutdown when screen saver becomes activated. It should be turned &#039;&#039;&#039;ON&#039;&#039;&#039; for normal usage.&lt;br /&gt;
: &#039;&#039;&#039;Note:&#039;&#039;&#039; &#039;&#039;&#039;This option do not block shutdown or suspend initiated by KODI itself.&#039;&#039;&#039;&lt;br /&gt;
; Tuning delay (sec)&lt;br /&gt;
: Depending of your hardware, a delay could be needed to spawn Live TV.&lt;br /&gt;
; Group recordings by title&lt;br /&gt;
: Always , Only for series , Never&lt;br /&gt;
; Enable commercial skip (EDL)&lt;br /&gt;
: Always , Dialog , Never&lt;br /&gt;
; Enable channel icons&lt;br /&gt;
: Disable this option on low powered platform as RPi&lt;br /&gt;
; Enable recording fanart/thumbnails&lt;br /&gt;
: Disable this option on low powered platform as RPi&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{{Next|[[PVR/Kodi|Configuring Kodi]]}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
# If you&#039;re experiencing troubles with the addon, [http://forum.kodi.tv/forumdisplay.php?fid=170 MythTV section of Kodi Forum] is the correct place to ask for help.&lt;br /&gt;
# Always include a &#039;&#039;&#039;full [http://kodi.wiki/index.php?title=Debug_log debug log]&#039;&#039;&#039; with the addon setting &#039;&#039;&#039;Include more debug information in the log file&#039;&#039;&#039; enabled. (also please make yourself familiar with [http://kodi.wiki/index.php?title=Troubleshooting Kodi troubleshooting])&lt;br /&gt;
# Issues that are only related to this addon (not to Kodi itself or Kodi&#039;s general PVR code) should be reported here: https://github.com/janbar/pvr.mythtv/issues (if unsure, ask in the forum first!)&lt;br /&gt;
&lt;br /&gt;
== Getting latest version from author ==&lt;br /&gt;
* Binaries versions are available for Ubuntu using the PPA [https://launchpad.net/~jlbarriere68/+archive/ubuntu/ppa janbar]&lt;br /&gt;
* OSX, Windows and OpenELEC binaries are available on github page [http://janbar.github.io/pvr.mythtv/download Download PVR.MythTV]&lt;br /&gt;
* For other platform, you have to build it from sources. Please see sections below.&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
* See [[PVR/Backend/MythTV/BuildFromSource|Build addon from source]] to learn how to build addon from the official or from the development repository&lt;br /&gt;
* This addon uses the Transifex Localization platform. You&#039;re welcome to contribute translations: https://www.transifex.com/projects/p/kodi-main/resource/pvr-mythtv/&lt;br /&gt;
&lt;br /&gt;
== Additional guides and links ==&lt;br /&gt;
* MythTV website - http://mythtv.org&lt;br /&gt;
** [http://www.mythtv.org/wiki/ Documentation]&lt;br /&gt;
* MythTV backend for Kodi support forum - http://forum.kodi.tv/forumdisplay.php?fid=170&lt;br /&gt;
* Addon&#039;s issue tracker: https://github.com/janbar/pvr.mythtv/issues&lt;br /&gt;
* MythTV genre colours in Kodi EPG: [[PVR/Backend/MythTV/DVB-EIT-categories]]&lt;br /&gt;
* MythTV + HDHomeRun Prime: http://gameroomsolutions.com/live-tv-setup/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:PVR|*]]&lt;br /&gt;
[[Category:Live TV]]&lt;/div&gt;</summary>
		<author><name>Danepowell</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=101447</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=101447"/>
		<updated>2015-09-23T14:33:31Z</updated>

		<summary type="html">&lt;p&gt;Danepowell: /* Installing a development build */&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;
&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;
The Linux release of Kodi doesn&#039;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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install kodi-pvr-XXXXXXX&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! PVR Addon !! Description&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-dev || Kodi Media Center (PVR Add-on Dev package)&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-argustv || Kodi PVR Addon Argustv&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-demo || Kodi PVR Demo Addon&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-dvbviewer || Kodi PVR Addon Dvbviewer&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-iptvsimple || Kodi PVR Iptv Addon&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-mediaportal-tvserver || Kodi PVR Addon Mediaportal Tvserver&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-mythtv || Kodi PVR Addon MythTv - Cmyth&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-nextpvr || Kodi PVR Addon NextPvr&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-njoy || Kodi PVR Addon Njoy&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-hts || Kodi PVR Addon TvHeadend Hts&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-vdr-vnsi || Kodi PVR Addon VDR Vnsi&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-vuplus || Kodi PVR Addon Vuplus&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 [[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, it&#039;s very simple You will need custom repos, availables on [http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/ custom repos here].&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;
# XBMC repos&lt;br /&gt;
deb https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/&lt;br /&gt;
deb http://http.debian.net/debian unstable 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 22 using RPMFusion packages]] for a guide showing how to install Fedora 22 and Kodi to create a quick-booting, standalone style of media player.&lt;br /&gt;
&lt;br /&gt;
FedoraProject also has [http://fedoraproject.org/wiki/HTPC this page] discussing how to build a dedicated home theatre.&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>Danepowell</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_for_Linux&amp;diff=101439</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=101439"/>
		<updated>2015-09-22T18:28:25Z</updated>

		<summary type="html">&lt;p&gt;Danepowell: /* Downgrading to a stable version from a development version */&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;
&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;
The Linux release of Kodi doesn&#039;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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install kodi-pvr-XXXXXXX&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! PVR Addon !! Description&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-dev || Kodi Media Center (PVR Add-on Dev package)&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-argustv || Kodi PVR Addon Argustv&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-demo || Kodi PVR Demo Addon&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-dvbviewer || Kodi PVR Addon Dvbviewer&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-iptvsimple || Kodi PVR Iptv Addon&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-mediaportal-tvserver || Kodi PVR Addon Mediaportal Tvserver&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-mythtv || Kodi PVR Addon MythTv - Cmyth&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-nextpvr || Kodi PVR Addon NextPvr&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-njoy || Kodi PVR Addon Njoy&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-hts || Kodi PVR Addon TvHeadend Hts&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-vdr-vnsi || Kodi PVR Addon VDR Vnsi&lt;br /&gt;
|-&lt;br /&gt;
| kodi-pvr-vuplus || Kodi PVR Addon Vuplus&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 [[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;
&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, it&#039;s very simple You will need custom repos, availables on [http://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/ custom repos here].&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;
# XBMC repos&lt;br /&gt;
deb https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/&lt;br /&gt;
deb http://http.debian.net/debian unstable 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 22 using RPMFusion packages]] for a guide showing how to install Fedora 22 and Kodi to create a quick-booting, standalone style of media player.&lt;br /&gt;
&lt;br /&gt;
FedoraProject also has [http://fedoraproject.org/wiki/HTPC this page] discussing how to build a dedicated home theatre.&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>Danepowell</name></author>
	</entry>
</feed>